Browse Source

refactor(nc-gui): add comments

pull/5642/head
Wing-Kam Wong 2 years ago
parent
commit
55dfb8c6a9
  1. 1
      packages/nc-gui/composables/useMultiSelect/convertCellData.ts

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

@ -45,6 +45,7 @@ export default function convertCellData(
} }
if (isXcdbBase) { if (isXcdbBase) {
// convert back to utc // convert back to utc
// e.g. (mysql) 2023-05-11 12:00:00+00:00 -> 2023-05-11 12:00:00
// e.g. 2023-05-09T19:41:49+08:00 -> 2023-05-09 11:41:49 // e.g. 2023-05-09T19:41:49+08:00 -> 2023-05-09 11:41:49
return parsedDateTime.utc().format(isMysql ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD HH:mm:ssZ') return parsedDateTime.utc().format(isMysql ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD HH:mm:ssZ')
} }

Loading…
Cancel
Save