Browse Source

fix(nc-gui): add 'Z' for mysql

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

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

@ -47,7 +47,8 @@ export default function convertCellData(
} }
if (isXcdbBase) { if (isXcdbBase) {
if (isMysql) { if (isMysql) {
return parsedDateTime.format('YYYY-MM-DD HH:mm:ss') // UTC + 'Z'
return parsedDateTime.format('YYYY-MM-DD HH:mm:ss') + 'Z'
} else if (isMssql) { } else if (isMssql) {
return parsedDateTime.format('YYYY-MM-DD HH:mm:ssZ') return parsedDateTime.format('YYYY-MM-DD HH:mm:ssZ')
} else { } else {

Loading…
Cancel
Save