Skip to content

Commit

Permalink
Change blog post date format (#169)
Browse files Browse the repository at this point in the history
Use YYYY-MM-DD
  • Loading branch information
gkoscky authored May 14, 2024
1 parent 3e218c2 commit 7c9dd4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme/BlogPostItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function BlogPostItem(props: Props): JSX.Element {
<div className={clsx(styles.blogPostData, 'margin-hori--md')}>
<span>
<time dateTime={date} itemProp="datePublished">
{ dayjs(date).format("DD.MM.YY") }
{ dayjs(date).format("YYYY-MM-DD") }
</time>

{typeof readingTime !== 'undefined' && (
Expand Down

0 comments on commit 7c9dd4c

Please sign in to comment.