mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 09:36:49 +00:00
fix(nc-gui): canvas cell timezone issue and editable cell ui changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { type ColumnType, UITypes, getDateFormat, parseProp } from 'nocodb-sdk'
|
||||
import { withTimezone } from '../../utils/worker/datetimeUtils'
|
||||
import { workerWithTimezone } from '../../utils/worker/datetimeUtils'
|
||||
import TemplateGenerator, { type ProgressMessageType } from './TemplateGenerator'
|
||||
import {
|
||||
extractMultiOrSingleSelectProps,
|
||||
@@ -155,7 +155,7 @@ export default class ExcelTemplateAdapter extends TemplateGenerator {
|
||||
return value
|
||||
}
|
||||
const meta = parseProp(existingColumn.meta)
|
||||
const dateValue = withTimezone(this.config.isEeUI, meta?.timezone).dayjsTz(
|
||||
const dateValue = workerWithTimezone(this.config.isEeUI, meta?.timezone).dayjsTz(
|
||||
value,
|
||||
meta.date_format && meta.time_format ? `${meta.date_format} ${meta.time_format}` : undefined,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user