fix(striker-ui): use iso-8601 date format in Anvil status

main
Tsu-ba-me 4 years ago
parent 7e57668a46
commit f151065ad9
  1. 7
      striker-ui/pages/anvils/[uuid].tsx

@ -52,12 +52,7 @@ const DemoAnvilStatus: NextPage = (): JSX.Element => {
isLoading, isLoading,
} = useOneAnvil(anvilUUID); } = useOneAnvil(anvilUUID);
const lastUpdatedDatetime: string = new Date(timestamp * 1000).toLocaleString( const lastUpdatedDatetime: string = new Date(timestamp * 1000).toISOString();
'en-US',
{
timeZoneName: 'short',
},
);
return ( return (
<PageContainer> <PageContainer>

Loading…
Cancel
Save