Skip to content

Commit

Permalink
cci: fix UTC force
Browse files Browse the repository at this point in the history
  • Loading branch information
ChlodAlejandro committed Jun 14, 2023
1 parent a6b1d50 commit ff55837
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/root/DeputyChangesListElements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ff55837

Please sign in to comment.