aboutsummaryrefslogtreecommitdiff
path: root/src/components/Sections
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Sections')
-rw-r--r--src/components/Sections/LatestPosts.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Sections/LatestPosts.astro b/src/components/Sections/LatestPosts.astro
index 5c6afd9..daba4c8 100644
--- a/src/components/Sections/LatestPosts.astro
+++ b/src/components/Sections/LatestPosts.astro
@@ -32,7 +32,7 @@ const latestPosts = posts.slice(0, 5);
</a>
<small>
- <time datetime={post.data.datePublished.toISOString()} lang="en">
+ <time datetime={post.data.datePublished.toISOString()} lang={post.data.lang}>
{dayjs(post.data.datePublished.toString()).format("MMMM DD, YYYY")}
</time>
</small>