From ff55837581301f0ec74e0ccb5ca685ab191c9b00 Mon Sep 17 00:00:00 2001 From: Chlod Alejandro Date: Wed, 14 Jun 2023 14:54:30 +0800 Subject: [PATCH] cci: fix UTC force --- src/ui/root/DeputyChangesListElements.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/root/DeputyChangesListElements.tsx b/src/ui/root/DeputyChangesListElements.tsx index f8f6bf56..a87264ea 100644 --- a/src/ui/root/DeputyChangesListElements.tsx +++ b/src/ui/root/DeputyChangesListElements.tsx @@ -79,7 +79,8 @@ export function ChangesListDate( } const formattedTime = time.toLocaleTimeString( window.deputyLang, { hourCycle: 'h24', - timeStyle: mw.user.options.get( 'date' ) === 'ISO 8601' ? 'long' : 'short' + timeStyle: mw.user.options.get( 'date' ) === 'ISO 8601' ? 'long' : 'short', + timeZone: window.deputy.config.cci.forceUtc.get() ? 'UTC' : undefined } ); const formattedDate = now.locale( window.deputyLang ).format( { dmy: 'D MMMM YYYY',