Browse Source

fix(nc-gui): paste datetime logic for sqlite

pull/5601/head
Wing-Kam Wong 2 years ago
parent
commit
66f0c20ea3
  1. 2
      packages/nc-gui/composables/useMultiSelect/convertCellData.ts

2
packages/nc-gui/composables/useMultiSelect/convertCellData.ts

@ -47,8 +47,6 @@ export default function convertCellData(
if (isXcdbBase) { if (isXcdbBase) {
if (isMysql) { if (isMysql) {
return parsedDateTime?.format('YYYY-MM-DD HH:mm:ss') return parsedDateTime?.format('YYYY-MM-DD HH:mm:ss')
} else if (isSqlite) {
return parsedDateTime.utc().format('YYYY-MM-DD HH:mm:ss')
} else { } else {
return parsedDateTime.utc(true).format('YYYY-MM-DD HH:mm:ssZ') return parsedDateTime.utc(true).format('YYYY-MM-DD HH:mm:ssZ')
} }

Loading…
Cancel
Save