Skip to content

Commit

Permalink
fix: use fixed date on storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Oct 18, 2023
1 parent 7a99b73 commit db83182
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/Common/MetaBar/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ type Meta = MetaObj<typeof MetaBar>;
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',
Expand Down

0 comments on commit db83182

Please sign in to comment.