Skip to content

Commit

Permalink
fix: change the deposit date to publication date due to wrongly copied
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengShi-1 committed Nov 4, 2024
1 parent cda214e commit 21e7f0a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sections/file/file-metadata/FileMetadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ export function FileMetadata({
format="YYYY-MM-DD"
/>
) : (
metadata.publicationDate && (
<time>DateHelper.toISO8601Format(metadata.publicationDate)</time>
)
<time>
{metadata.publicationDate &&
DateHelper.toISO8601Format(metadata.publicationDate)}
</time>
)}
</Col>
</Row>
Expand Down

0 comments on commit 21e7f0a

Please sign in to comment.