Browse Source

fix(nc-gui): mssql copy n paste issue

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

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

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

Loading…
Cancel
Save