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

This commit is contained in:
Wing-Kam Wong
2023-05-02 16:36:14 +08:00
parent 7e51d3fbe7
commit 591ec3a5f9

View File

@@ -47,7 +47,8 @@ export default function convertCellData(
}
if (isXcdbBase) {
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) {
return parsedDateTime.format('YYYY-MM-DD HH:mm:ssZ')
} else {