mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 18:06:49 +00:00
refactor(nc-gui): update comments
This commit is contained in:
@@ -48,7 +48,7 @@ export default function convertCellData(
|
||||
if (isMysql) {
|
||||
let res = `${parsedDateTime.format('YYYY-MM-DD HH:mm:ss')}`
|
||||
if (!dayjs.isDayjs(value)) {
|
||||
// UTC + 'Z'
|
||||
// value is a UTC string, we append 'Z' to `res`
|
||||
res += 'Z'
|
||||
}
|
||||
return res
|
||||
@@ -64,7 +64,7 @@ export default function convertCellData(
|
||||
return parsedDateTime
|
||||
}
|
||||
}
|
||||
// TODO(timezone): keep ext db as it is
|
||||
// External DB - keep it as it is
|
||||
return parsedDateTime.format(isMysql ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD HH:mm:ssZ')
|
||||
}
|
||||
case UITypes.Time: {
|
||||
|
||||
Reference in New Issue
Block a user