Update some formats of this blog

This commit is contained in:
Daisuke Nakahara 2025-05-15 20:18:36 +09:00
parent fc2a5be2e7
commit 034a317648
6 changed files with 37 additions and 11 deletions

View file

@ -45,10 +45,10 @@ const allPosts = await getCollection("blog");
<BlogPost
url={`/posts/${post.id}/`}
title={post.data.title}
datetime={post.data.pubDate.toLocaleDateString("ja-JP", {
datetime={post.data.pubDate.toLocaleDateString("en-US", {
year: "numeric",
month: "2-digit",
day: "2-digit",
month: "long",
day: "numeric",
})}
/>
))