mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-12 19:30:52 +00:00
QFix for timezone (#3952)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
50a5aabc38
commit
c9aceeaa8f
@ -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] ?? ''
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user