mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 22:15:04 +02:00
QFix for timezone (#3952)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -128,5 +128,5 @@ export function getFormattedDate (value: number | null): string {
|
||||
}
|
||||
|
||||
export const getTimeZoneName = (): string => {
|
||||
return Intl.DateTimeFormat().resolvedOptions().timeZone.split('/')[1]
|
||||
return Intl.DateTimeFormat().resolvedOptions().timeZone?.split('/')[1] ?? ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user