Skip to content

Commit

Permalink
making dates static
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Apr 24, 2024
1 parent a9075fd commit 83a0e8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions superset-frontend/src/components/Table/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -593,19 +593,19 @@ const shoppingData: ShoppingData[] = [
{
key: 1,
item: 'Floppy Disk 10 pack',
orderDate: Date.now(),
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
price: 9.99,
},
{
key: 2,
item: 'DVD 100 pack',
orderDate: Date.now(),
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
price: 7.99,
},
{
key: 3,
item: '128 GB SSD',
orderDate: Date.now(),
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
price: 3.99,
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Basic: ComponentStory<typeof TimeCell> = args => (
);

Basic.args = {
value: Date.now(),
value: new Date('2015-07-02T16:16:00Z').getTime(),
};

Basic.argTypes = {
Expand Down

0 comments on commit 83a0e8e

Please sign in to comment.