Skip to content

Commit

Permalink
fix(releases): using short and temporal version of relative time
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanl17 committed Jul 12, 2024
1 parent 95fc990 commit 91082cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function ReleaseHeader({searchDisabled, searchTerm, setSearchTerm}: Relea
</Box>
</Flex>
{/* Created */}
<Flex as="th" paddingY={3} sizing="border" style={{width: 100}}>
<Flex as="th" paddingY={3} sizing="border" style={{width: 120}}>
<Button mode="bleed" padding={2} radius={3} space={1} text="Created" />
</Flex>
{/* Edited */}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ export function ReleaseRow({bundle}: ReleaseRowProps) {
paddingX={2}
paddingY={3}
sizing="border"
style={{width: 100}}
style={{width: 120}}
>
{bundle.authorId && <UserAvatar size={0} user={bundle.authorId} />}
<Text muted size={1}>
<RelativeTime time={bundle._createdAt} />
<RelativeTime time={bundle._createdAt} useTemporalPhrase minimal />
</Text>
</Flex>
{/* Edited */}
Expand All @@ -72,7 +72,7 @@ export function ReleaseRow({bundle}: ReleaseRowProps) {
>
{documentsMetadata.updatedAt && (
<Text muted size={1}>
<RelativeTime time={documentsMetadata.updatedAt} />
<RelativeTime time={documentsMetadata.updatedAt} useTemporalPhrase minimal />
</Text>
)}
</Flex>
Expand Down

0 comments on commit 91082cc

Please sign in to comment.