diff --git a/components/post-list-item.tsx b/components/post-list-item.tsx index 071a3f5..8a6c647 100644 --- a/components/post-list-item.tsx +++ b/components/post-list-item.tsx @@ -26,31 +26,29 @@ export function PostListItem({ post }: Props) { /> )} -
+ {new Date(post.published_at).toLocaleDateString( + siteConfig.defaultLocale + )} +
+ )} +{post.description} @@ -62,4 +60,3 @@ export function PostListItem({ post }: Props) { ); } -