fix(nc-gui): canvas cell timezone issue and editable cell ui changes

This commit is contained in:
Ramesh Mane
2025-04-22 14:15:57 +00:00
parent d566cf7df9
commit 24db9cb4e3
10 changed files with 50 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
import { getTimeZones } from '@vvo/tzdb'
import dayjs from 'dayjs'
import { dateFormats, timeFormats } from 'nocodb-sdk'
import { withTimezone as workerWithTimezone } from './worker/datetimeUtils'
import { workerWithTimezone } from './worker/datetimeUtils'
export { constructDateFormat, constructDateTimeFormat, constructTimeFormat } from 'nocodb-sdk'
export function parseStringDateTime(v: string, dateTimeFormat = `${dateFormats[0]} ${timeFormats[0]}`, toLocal = true) {