Skip to content

Commit

Permalink
Fix date formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Nov 18, 2023
1 parent a1889b0 commit 73d3c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/.vuepress/theme/components/PostMeta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }}
</p>
</template>

Expand Down

0 comments on commit 73d3c9b

Please sign in to comment.