Skip to content

Commit

Permalink
fix: show talks' dates in hijri calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-zeynal committed Nov 26, 2023
1 parent 0fac008 commit feaab3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Components/item-card/item-card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ const ItemCard = ({
{description}
</Typography>
<Typography variant="body1" sx={{ fontSize: 14 }} color="text.secondary">
From: {startDate}
From: {new Date(startDate).toLocaleString('fa-IR-u-nu-latn')}
</Typography>
<Typography variant="body1" sx={{ fontSize: 14 }} color="text.secondary">
To: {endDate}
To: {new Date(endDate).toLocaleString('fa-IR-u-nu-latn')}
</Typography>
<Divider sx={{ my: 1 }} />
<Presenter presenterName={presenterName} />
Expand Down

0 comments on commit feaab3d

Please sign in to comment.