chore(blog,changelog) - convert date <p> to <time>

This commit is contained in:
kodster28 committed 2026-12-03 09:50:59 -06:00
1 parent 874fbcae03
commit 5ec0004012
2 files changed
+8 -3

No files matched your search

@@ -136,7 +136,9 @@ const BlogPostRenderer = async ({
</h1>
<div className="flex items-center gap-2">
<div className="text-foreground-lighter flex space-x-3 text-sm">
<p>{dayjs(blogMetaData.date).format('D MMM YYYY')}</p>
<time dateTime={dayjs(blogMetaData.date).format('YYYY-MM-DD')}>
{dayjs(blogMetaData.date).format('D MMM YYYY')}
</time>
<p>·</p>
<p>{(blogMetaData as any).readingTime}</p>
</div>
+5 -2
View File
@@ -87,9 +87,12 @@ const ChangelogDetailPage = ({
<ChangelogInlineMarkdown>{title}</ChangelogInlineMarkdown>
</h1>
<div className="flex items-center gap-2">
<p className="text-foreground-lighter font-mono text-xs">
<time
dateTime={dayjs(created_at).format('YYYY-MM-DD')}
className="text-foreground-lighter font-mono text-xs"
>
{dayjs(created_at).format('MMM D, YYYY')}
</p>
</time>
</div>
</header>