diff --git a/superset-frontend/src/components/Table/Table.stories.tsx b/superset-frontend/src/components/Table/Table.stories.tsx index 5db718e71723d..423da5137c353 100644 --- a/superset-frontend/src/components/Table/Table.stories.tsx +++ b/superset-frontend/src/components/Table/Table.stories.tsx @@ -594,19 +594,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, }, ]; diff --git a/superset-frontend/src/components/Table/cell-renderers/TimeCell/TimeCell.stories.tsx b/superset-frontend/src/components/Table/cell-renderers/TimeCell/TimeCell.stories.tsx index 39ae19c29d5e5..fcbc4ea846eb4 100644 --- a/superset-frontend/src/components/Table/cell-renderers/TimeCell/TimeCell.stories.tsx +++ b/superset-frontend/src/components/Table/cell-renderers/TimeCell/TimeCell.stories.tsx @@ -30,7 +30,7 @@ export const Basic: ComponentStory = args => ( ); Basic.args = { - value: Date.now(), + value: new Date('2015-07-02T16:16:00Z').getTime(), }; Basic.argTypes = {