From 73d3c9b68b3d62b5cec5fafa416706c0b2a9fe1f Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Sat, 18 Nov 2023 15:36:03 +0100 Subject: [PATCH] Fix date formatting --- blog/.vuepress/theme/components/PostMeta.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/.vuepress/theme/components/PostMeta.vue b/blog/.vuepress/theme/components/PostMeta.vue index f27bf586..c44e7d1c 100644 --- a/blog/.vuepress/theme/components/PostMeta.vue +++ b/blog/.vuepress/theme/components/PostMeta.vue @@ -34,7 +34,7 @@ on - {{ new Date(post.frontmatter.date).getMonth() + 1 }}/{{ new Date(post.frontmatter.date).getDate() + 1 }}/{{ new Date(post.frontmatter.date).getFullYear() }} + {{ new Intl.DateTimeFormat('en-US').format(new Date(post.frontmatter.date)) }}