diff --git a/explorer/src/utils/date.ts b/explorer/src/utils/date.ts index b06dffb8d9..56c8155380 100644 --- a/explorer/src/utils/date.ts +++ b/explorer/src/utils/date.ts @@ -12,7 +12,7 @@ export function displayTimestamp( hour: "numeric", minute: "numeric", second: "numeric", - hour12: false, + hourCycle: "h23", timeZoneName: shortTimeZoneName ? "short" : "long", }).format(expireDate); return `${dateString} at ${timeString}`; @@ -33,7 +33,7 @@ export function displayTimestampUtc( hour: "numeric", minute: "numeric", second: "numeric", - hour12: false, + hourCycle: "h23", timeZone: "UTC", timeZoneName: shortTimeZoneName ? "short" : "long", }).format(expireDate);