Просмотр исходного кода

fix(data): timestamp formatting

Adam 2 месяцев назад
Родитель
Сommit
d68397b42f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/stats/app/src/routes/index.tsx

+ 1 - 1
packages/stats/app/src/routes/index.tsx

@@ -356,7 +356,7 @@ function formatUpdatedAtParts(value: string, timeZone: string) {
       timeZone,
       timeZone,
     }).format(date),
     }).format(date),
     time: new Intl.DateTimeFormat("en", {
     time: new Intl.DateTimeFormat("en", {
-      hour: "numeric",
+      hour: "2-digit",
       minute: "2-digit",
       minute: "2-digit",
       timeZone,
       timeZone,
       timeZoneName: "short",
       timeZoneName: "short",