refactor(nc-gui): add comments

This commit is contained in:
Wing-Kam Wong
2023-05-11 17:40:15 +08:00
parent 94b52ce4d6
commit 55dfb8c6a9

View File

@@ -45,6 +45,7 @@ export default function convertCellData(
}
if (isXcdbBase) {
// 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
return parsedDateTime.utc().format(isMysql ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD HH:mm:ssZ')
}