diff --git a/components/FileListing.tsx b/components/FileListing.tsx index c670062..60ae97b 100644 --- a/components/FileListing.tsx +++ b/components/FileListing.tsx @@ -83,9 +83,13 @@ const FileListItem: FunctionComponent<{
- {new Date(c.lastModifiedDateTime).toLocaleString(undefined, { - dateStyle: 'short', - timeStyle: 'short', + {new Date(c.lastModifiedDateTime).toLocaleString('en-US', { + year: 'numeric', + month: '2-digit', + day: '2-digit', + hour: '2-digit', + minute: '2-digit', + hour12: false, })}
{humanFileSize(c.size)}
diff --git a/next-env.d.ts b/next-env.d.ts index 7b7aa2c..9bc3dd4 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,2 +1,6 @@ /// /// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/basic-features/typescript for more information.