mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix(util): make unti tests pass whatever the timezone is
This commit is contained in:
parent
95ad6ed33a
commit
dedcced8d4
@ -5,6 +5,7 @@ const dateTimeOptions = {
|
||||
hour: '2-digit',
|
||||
minute: '2-digit',
|
||||
second: '2-digit',
|
||||
timeZone: 'UTC',
|
||||
};
|
||||
|
||||
export const formatFullDateTime = v => new Date(v).toLocaleString('nb-NO', dateTimeOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user