mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
chore(blog,changelog) - convert date <p> to <time>
This commit is contained in:
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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user