diff --git a/src/components/Feed/Feed.test.js b/src/components/Feed/Feed.test.js
index 56aa356..59b55f5 100644
--- a/src/components/Feed/Feed.test.js
+++ b/src/components/Feed/Feed.test.js
@@ -12,7 +12,7 @@ describe('Feed', () => {
categorySlug: '/test_0'
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test_0',
category: 'test_0',
title: 'test_0'
@@ -26,7 +26,7 @@ describe('Feed', () => {
categorySlug: '/test_1'
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test_1',
category: 'test_1',
title: 'test_1'
diff --git a/src/components/Feed/__snapshots__/Feed.test.js.snap b/src/components/Feed/__snapshots__/Feed.test.js.snap
index 1d6ed60..d0bf186 100644
--- a/src/components/Feed/__snapshots__/Feed.test.js.snap
+++ b/src/components/Feed/__snapshots__/Feed.test.js.snap
@@ -12,7 +12,7 @@ exports[`Feed renders correctly 1`] = `
>
@@ -60,7 +60,7 @@ exports[`Feed renders correctly 1`] = `
>
diff --git a/src/components/Pagination/__snapshots__/Pagination.test.js.snap b/src/components/Pagination/__snapshots__/Pagination.test.js.snap
index cdb22ff..fe7d4bb 100644
--- a/src/components/Pagination/__snapshots__/Pagination.test.js.snap
+++ b/src/components/Pagination/__snapshots__/Pagination.test.js.snap
@@ -9,6 +9,7 @@ exports[`Pagination renders correctly 1`] = `
>
← PREV
@@ -19,6 +20,7 @@ exports[`Pagination renders correctly 1`] = `
>
→ NEXT
diff --git a/src/components/Post/Meta/Meta.test.js b/src/components/Post/Meta/Meta.test.js
index 3052e7a..a26251f 100644
--- a/src/components/Post/Meta/Meta.test.js
+++ b/src/components/Post/Meta/Meta.test.js
@@ -5,7 +5,7 @@ import Meta from './Meta';
describe('Meta', () => {
it('renders correctly', () => {
const props = {
- date: '2016-09-01T23:46:37.121Z'
+ date: '2016-09-01'
};
const tree = renderer.create().toJSON();
diff --git a/src/components/Post/Meta/__snapshots__/Meta.test.js.snap b/src/components/Post/Meta/__snapshots__/Meta.test.js.snap
index f99c77b..bfb9038 100644
--- a/src/components/Post/Meta/__snapshots__/Meta.test.js.snap
+++ b/src/components/Post/Meta/__snapshots__/Meta.test.js.snap
@@ -8,7 +8,7 @@ exports[`Meta renders correctly 1`] = `
className="meta__date"
>
Published
- 2 Sep 2016
+ 1 Sep 2016
`;
diff --git a/src/components/Post/Post.test.js b/src/components/Post/Post.test.js
index 15ee886..f1c799f 100644
--- a/src/components/Post/Post.test.js
+++ b/src/components/Post/Post.test.js
@@ -13,7 +13,7 @@ describe('Post', () => {
]
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
tags: [
'test_0',
'test_1'
diff --git a/src/components/Post/__snapshots__/Post.test.js.snap b/src/components/Post/__snapshots__/Post.test.js.snap
index 83e21b9..dcf0540 100644
--- a/src/components/Post/__snapshots__/Post.test.js.snap
+++ b/src/components/Post/__snapshots__/Post.test.js.snap
@@ -41,7 +41,7 @@ exports[`Post renders correctly 1`] = `
className="meta__date"
>
Published
- 2 Sep 2016
+ 1 Sep 2016
@@ -80,7 +80,7 @@ exports[`CategoryTemplate renders correctly 1`] = `
>
@@ -129,6 +129,7 @@ exports[`CategoryTemplate renders correctly 1`] = `
>
← PREV
@@ -139,6 +140,7 @@ exports[`CategoryTemplate renders correctly 1`] = `
>
→ NEXT
diff --git a/src/templates/__snapshots__/index-template.test.js.snap b/src/templates/__snapshots__/index-template.test.js.snap
index 5c3f3ad..3831696 100644
--- a/src/templates/__snapshots__/index-template.test.js.snap
+++ b/src/templates/__snapshots__/index-template.test.js.snap
@@ -27,7 +27,7 @@ exports[`IndexTemplate renders correctly 1`] = `
>
@@ -75,7 +75,7 @@ exports[`IndexTemplate renders correctly 1`] = `
>
@@ -124,6 +124,7 @@ exports[`IndexTemplate renders correctly 1`] = `
>
← PREV
@@ -134,6 +135,7 @@ exports[`IndexTemplate renders correctly 1`] = `
>
→ NEXT
diff --git a/src/templates/__snapshots__/post-template.test.js.snap b/src/templates/__snapshots__/post-template.test.js.snap
index 5313fe2..85b821d 100644
--- a/src/templates/__snapshots__/post-template.test.js.snap
+++ b/src/templates/__snapshots__/post-template.test.js.snap
@@ -44,7 +44,7 @@ exports[`PostTemplate renders correctly 1`] = `
className="meta__date"
>
Published
- 2 Sep 2016
+ 1 Sep 2016
@@ -80,7 +80,7 @@ exports[`TagTemplate renders correctly 1`] = `
>
@@ -129,6 +129,7 @@ exports[`TagTemplate renders correctly 1`] = `
>
← PREV
@@ -139,6 +140,7 @@ exports[`TagTemplate renders correctly 1`] = `
>
→ NEXT
diff --git a/src/templates/category-template.test.js b/src/templates/category-template.test.js
index fdc3b09..f7f3f85 100644
--- a/src/templates/category-template.test.js
+++ b/src/templates/category-template.test.js
@@ -24,7 +24,7 @@ describe('CategoryTemplate', () => {
categorySlug: '/test'
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test_0',
category: 'test',
title: 'test_0'
@@ -38,7 +38,7 @@ describe('CategoryTemplate', () => {
categorySlug: '/test'
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test_1',
category: 'test',
title: 'test_1'
diff --git a/src/templates/index-template.test.js b/src/templates/index-template.test.js
index fa975bf..8888714 100644
--- a/src/templates/index-template.test.js
+++ b/src/templates/index-template.test.js
@@ -14,7 +14,7 @@ describe('IndexTemplate', () => {
categorySlug: '/test_0'
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test_0',
category: 'test_0',
title: 'test_0'
@@ -28,7 +28,7 @@ describe('IndexTemplate', () => {
categorySlug: '/test_1'
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test_1',
category: 'test_1',
title: 'test_1'
diff --git a/src/templates/post-template.test.js b/src/templates/post-template.test.js
index ce3db4b..ccb1edf 100644
--- a/src/templates/post-template.test.js
+++ b/src/templates/post-template.test.js
@@ -20,7 +20,7 @@ describe('PostTemplate', () => {
]
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test',
title: 'test',
tags: [
diff --git a/src/templates/tag-template.test.js b/src/templates/tag-template.test.js
index 13539b3..ddb9c17 100644
--- a/src/templates/tag-template.test.js
+++ b/src/templates/tag-template.test.js
@@ -24,7 +24,7 @@ describe('TagTemplate', () => {
categorySlug: '/test'
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test_0',
category: 'test',
title: 'test_0'
@@ -38,7 +38,7 @@ describe('TagTemplate', () => {
categorySlug: '/test'
},
frontmatter: {
- date: '2016-09-01T23:46:37.121Z',
+ date: '2016-09-01',
description: 'test_1',
category: 'test',
title: 'test_1'