|
|
@ -3220,8 +3220,8 @@ class BaseModelSqlv2 { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (d) { |
|
|
|
if (d) { |
|
|
|
dateTimeColumns.forEach((col) => { |
|
|
|
dateTimeColumns.forEach((col) => { |
|
|
|
if (d[col.title] && typeof d[col.title] === 'string') { |
|
|
|
if (d[col.title]) { |
|
|
|
// e.g. 01.01.2022 10:00:00+05:30 -> 2022-01-01 04:30:00+00:00 (TBC)
|
|
|
|
// e.g. 01.01.2022 10:00:00+05:30 -> 2022-01-01 04:30:00+00:00
|
|
|
|
// e.g. 2023-05-09 11:41:49 -> 2023-05-09 11:41:49+00:00
|
|
|
|
// e.g. 2023-05-09 11:41:49 -> 2023-05-09 11:41:49+00:00
|
|
|
|
d[col.title] = dayjs(d[col.title]) |
|
|
|
d[col.title] = dayjs(d[col.title]) |
|
|
|
.utc(true) |
|
|
|
.utc(true) |
|
|
|