Skip to content

Commit

Permalink
Merge pull request #13 from calimania/2024-update
Browse files Browse the repository at this point in the history
unfuck date
  • Loading branch information
dvidsilva authored Jan 4, 2025
2 parents f306b82 + 8fb8bfc commit 0ac8b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/blog/SinglePost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const { Content , id } = post;
<div class="flex justify-between flex-col sm:flex-row max-w-3xl mx-auto mt-0 mb-2 px-4 sm:px-6 sm:items-center">
<p>
<Icon name="tabler:clock" class="w-4 h-4 inline-block -mt-0.5 dark:text-gray-400" />
<time datetime={String(post.SEO?.metaDate || post.publishDate)} class="inline-block">{getFormattedDate(post.publishDate)}</time>
<time datetime={String(post.publishDate)} class="inline-block">{getFormattedDate(post.publishDate)}</time>
{
post.category && (
<>
Expand Down

0 comments on commit 0ac8b74

Please sign in to comment.