Skip to content

Commit

Permalink
Change displaying updated at field in DocumentCard (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb authored Dec 23, 2024
1 parent ba09115 commit 3eb98f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/cards/DocumentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function DocumentCard(props: DocumentCardProps) {
}}
/>
<Typography variant="body2" color="text.secondary" noWrap>
{moment(document.updatedAt).format("D MMM YYYY")}
{moment(document.updatedAt).fromNow()}
</Typography>
</Stack>
{/* TODO(devleejb): When the fetching presemces from yorkie is implemented, uncomment the following code */}
Expand Down

0 comments on commit 3eb98f2

Please sign in to comment.