diff --git a/scripts/generate-packages-index.ts b/scripts/generate-packages-index.ts index 0835d27..e6d0723 100755 --- a/scripts/generate-packages-index.ts +++ b/scripts/generate-packages-index.ts @@ -138,7 +138,13 @@ function indexLayout(prefix: string, files: _Object[], dirs: string[]): string { ${rows.map(([link, name, size, date]) => ` ${name} ${size ? humanFileSize(size) : "-"} - ${date?.toLocaleString() ?? "-"} + ${date?.toLocaleString("en-GB", { + year: "numeric", + month: "short", + day: "2-digit", + hour: "2-digit", + minute: "numeric", + }) ?? "-"} `).join("")}