|
|
@ -48,9 +48,7 @@ export default function convertCellData( |
|
|
|
// convert back to utc
|
|
|
|
// convert back to utc
|
|
|
|
// 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
|
|
|
|
if (isMysql) { |
|
|
|
if (isMysql) { |
|
|
|
return `${parsedDateTime.utc().format('YYYY-MM-DD HH:mm:ss')}` |
|
|
|
return parsedDateTime.utc().format('YYYY-MM-DD HH:mm:ss') |
|
|
|
} else if (isMssql) { |
|
|
|
|
|
|
|
return parsedDateTime.utc().format('YYYY-MM-DD HH:mm:ssZ') |
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
return parsedDateTime.utc().format('YYYY-MM-DD HH:mm:ssZ') |
|
|
|
return parsedDateTime.utc().format('YYYY-MM-DD HH:mm:ssZ') |
|
|
|
} |
|
|
|
} |
|
|
|