mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 15:57:07 +00:00
fix(nc-gui): timezone display issue
This commit is contained in:
@@ -134,10 +134,9 @@ const timeZoneDisplay = computed(() => {
|
||||
return undefined
|
||||
}
|
||||
if ((column.value.meta as any)?.isDisplayTimezone) {
|
||||
const tzName = (column.value.meta as any)?.timezone ?? Intl.DateTimeFormat().resolvedOptions().timeZone
|
||||
const timeZones = getTimeZones({ includeUtc: true })
|
||||
return timeZones.find((k) => k.name === tzName)?.abbreviation
|
||||
return getTimeZoneFromName((column.value.meta as any)?.timezone)?.abbreviation
|
||||
}
|
||||
|
||||
return undefined
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user