diff --git a/components/Footer/Footer.tsx b/components/Footer/Footer.tsx index f26fb262f..f94c236e1 100644 --- a/components/Footer/Footer.tsx +++ b/components/Footer/Footer.tsx @@ -65,15 +65,9 @@ function Footer({ {' '} diff --git a/components/Footer/__snapshots__/Footer.test.tsx.snap b/components/Footer/__snapshots__/Footer.test.tsx.snap index 300760b59..7b4ec61f4 100644 --- a/components/Footer/__snapshots__/Footer.test.tsx.snap +++ b/components/Footer/__snapshots__/Footer.test.tsx.snap @@ -263,9 +263,9 @@ exports[`Footer should render correctly (snapshot) 1`] = ` href="https://github.com/sabertazimi/blog/actions" > diff --git a/layouts/__snapshots__/Layout.test.tsx.snap b/layouts/__snapshots__/Layout.test.tsx.snap index 847bcb548..5bbdd7330 100644 --- a/layouts/__snapshots__/Layout.test.tsx.snap +++ b/layouts/__snapshots__/Layout.test.tsx.snap @@ -657,9 +657,9 @@ exports[`Layout should render correctly (snapshot) 1`] = ` href="https://github.com/sabertazimi/blog/actions" > diff --git a/layouts/__snapshots__/PostLayout.test.tsx.snap b/layouts/__snapshots__/PostLayout.test.tsx.snap index 1432dce3f..498efa370 100644 --- a/layouts/__snapshots__/PostLayout.test.tsx.snap +++ b/layouts/__snapshots__/PostLayout.test.tsx.snap @@ -643,9 +643,9 @@ exports[`PostLayout should render correctly (snapshot) 1`] = ` href="https://github.com/sabertazimi/blog/actions" > diff --git a/mocks/data.ts b/mocks/data.ts index af9b05c1a..307adb298 100644 --- a/mocks/data.ts +++ b/mocks/data.ts @@ -1,4 +1,6 @@ -const time = Date.UTC(2022, 0, 1, 8, 0, 0) +const time = new Date(2022, 0, 1, 8, 0, 0).toLocaleString('zh-CN', { + hour12: false, +}) const baseProfile = { username: 'sabertazimi',