|
|
@ -65,9 +65,7 @@ let localState = $computed({ |
|
|
|
// when pasting a datetime cell, UTC (xcdb) will be saved in DB |
|
|
|
// when pasting a datetime cell, UTC (xcdb) will be saved in DB |
|
|
|
// we convert back to local time |
|
|
|
// we convert back to local time |
|
|
|
if (column.value.title! in (isUpdatedFromCopyNPaste ?? {})) { |
|
|
|
if (column.value.title! in (isUpdatedFromCopyNPaste ?? {})) { |
|
|
|
localModelValue = dayjs(modelValue) |
|
|
|
localModelValue = dayjs(modelValue).utc().local() |
|
|
|
.utc(isMysql(column.value.base_id)) |
|
|
|
|
|
|
|
.local() |
|
|
|
|
|
|
|
return localModelValue |
|
|
|
return localModelValue |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|