1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 05:21:17 -04:00

switch from date-fns (and date-fns-tz) to dayjs

This commit is contained in:
2022-04-22 14:37:35 -04:00
parent 8a97b706be
commit fbb2221d08
10 changed files with 78 additions and 58 deletions

View File

@@ -126,7 +126,7 @@ const RepositoryCard = ({
{/* only use relative "time ago" on client side, since it'll be outdated via SSG and cause hydration errors */}
<MetaItem>
<RelativeTime date={updatedAt} prefix="Updated" />
<RelativeTime date={updatedAt} verb="Updated" />
</MetaItem>
</Meta>
</Wrapper>