Skip to content

Commit

Permalink
update date format of package item
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
  • Loading branch information
justdan96 and tormath1 committed Aug 4, 2024
1 parent 263c7bd commit 0751064
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/components/Packages/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ function Item(props: {
{t('packages|Released:')}
</Typography>
&nbsp;
{makeLocaleTime(props.packageItem.created_ts)}
{makeLocaleTime(props.packageItem.created_ts, {
showTime: false,
dateFormat: { year: 'numeric', month: 'numeric', day: 'numeric' },
})}
</Grid>
{props.packageItem.channels_blacklist && (
<Grid item>
Expand Down

0 comments on commit 0751064

Please sign in to comment.