From 47bc50ff31938f0d17bfac93822da220470420fc Mon Sep 17 00:00:00 2001 From: Angelo CG Date: Fri, 31 Mar 2023 13:29:08 -0600 Subject: [PATCH 01/12] fix(webapp): fixed all dates format --- .../ongoing-election-components/ongoing-round/header.tsx | 4 ++-- .../registration-election-components/video-upload-cta.tsx | 3 ++- .../components/withdraw-funds/next-disbursement-info.tsx | 4 ++-- packages/webapp/src/pages/election/round-video-upload.tsx | 6 ++++-- packages/webapp/src/pages/election/stats.tsx | 6 +++--- 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/packages/webapp/src/elections/components/ongoing-election-components/ongoing-round/header.tsx b/packages/webapp/src/elections/components/ongoing-election-components/ongoing-round/header.tsx index 33241d930..ba57cf66a 100644 --- a/packages/webapp/src/elections/components/ongoing-election-components/ongoing-round/header.tsx +++ b/packages/webapp/src/elections/components/ongoing-election-components/ongoing-round/header.tsx @@ -39,8 +39,8 @@ export const Header = ({ } sublineComponent={ - {roundStartTime.format("LT")} -{" "} - {roundEndTime.format("LT z")} + {roundStartTime.utc().format("LT")} -{" "} + {roundEndTime.utc().format("LT")} UTC } > diff --git a/packages/webapp/src/elections/components/registration-election-components/video-upload-cta.tsx b/packages/webapp/src/elections/components/registration-election-components/video-upload-cta.tsx index 3b8f550aa..93fd2822c 100644 --- a/packages/webapp/src/elections/components/registration-election-components/video-upload-cta.tsx +++ b/packages/webapp/src/elections/components/registration-election-components/video-upload-cta.tsx @@ -23,7 +23,8 @@ export const ElectionVideoUploadCTA = () => { Election video upload service View and upload your meeting videos from the last election. All - election videos must be uploaded by {deadline.format("LLL z")}. + election videos must be uploaded by{" "} + {deadline.utc().format("LLL")} UTC.