From a31f5f467b37a22c1b46c6af285a9e695c9536dc Mon Sep 17 00:00:00 2001 From: "R. M. Shea" <8948187+rmshea@users.noreply.github.com> Date: Wed, 6 Jan 2021 10:35:30 -0700 Subject: [PATCH] Add UTC timing, tweak copy (#14460) * Add UTC timing, tweak copy * More copy tweaks * More copy --- explorer/src/components/UnlockAlert.tsx | 31 ++++++++++++++----------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/explorer/src/components/UnlockAlert.tsx b/explorer/src/components/UnlockAlert.tsx index 7099c5cd10..9d14aff9b6 100644 --- a/explorer/src/components/UnlockAlert.tsx +++ b/explorer/src/components/UnlockAlert.tsx @@ -11,14 +11,15 @@ export function displayTimestamp(unixTimestamp: number): string { year: "numeric", month: "long", day: "numeric", + timeZone: "UTC", }).format(expireDate); const timeString = new Intl.DateTimeFormat("en-US", { hour: "numeric", minute: "numeric", hour12: false, - timeZoneName: "long", + timeZone: "UTC", }).format(expireDate); - return `${dateString} at ${timeString}`; + return `${dateString} ${timeString}`; } export function UnlockAlert() { @@ -72,20 +73,24 @@ export function UnlockAlert() { return (
-

An unlock event is timed for midnight January 7th UTC cluster time.

-

- Cluster time is currently {displayTimestamp(blockTime * 1000)} and may - differ from actual UTC time. +

+ An unlock event is scheduled for January 7, 2021 00:00 UTC cluster time. +

+

+ Cluster time is currently {displayTimestamp(blockTime * 1000)} UTC. + Cluster time may vary from actual UTC time.

More information can be found{" "} - - here - + + + here + + .