Skip to content

Commit 3829f38

Browse files
authored
fix: adjust blog dates format (#665)
Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
1 parent 64cb5ef commit 3829f38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/BlogRoll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default ({ customFilter }) => (
100100
title
101101
templateKey
102102
hidePost
103-
date (formatString: "DD/MM/YYYY", locale: "en_us")
103+
date (formatString: "MM/DD/YYYY", locale: "en_us")
104104
author
105105
category {
106106
label

src/templates/blog-post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const pageQuery = graphql`
122122
id
123123
html
124124
frontmatter {
125-
date (formatString: "DD/MM/YYYY", locale: "en_us")
125+
date (formatString: "MM/DD/YYYY", locale: "en_us")
126126
title
127127
author
128128
seo {

0 commit comments

Comments
 (0)