From db831829c1c35f64b976233ac26a10410bd8cce2 Mon Sep 17 00:00:00 2001 From: Claudio Wunder Date: Wed, 18 Oct 2023 10:52:48 +0200 Subject: [PATCH] fix: use fixed date on storybook --- components/Common/MetaBar/index.stories.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Common/MetaBar/index.stories.tsx b/components/Common/MetaBar/index.stories.tsx index 81a8569cf21e3..acce0aa8effd5 100644 --- a/components/Common/MetaBar/index.stories.tsx +++ b/components/Common/MetaBar/index.stories.tsx @@ -14,7 +14,9 @@ type Meta = MetaObj; export const Default: Story = { args: { items: { - 'components.metabar.lastUpdated': new Date().toLocaleDateString(), + 'components.metabar.lastUpdated': new Date( + '17 October 2023' + ).toLocaleDateString(), 'components.metabar.readingTime': '15 minutes', 'components.metabar.addedIn': 'v1.0.0', 'components.metabar.author': 'The Node.js Project',