|
|
@ -623,8 +623,16 @@ test.describe('External DB - DateTime column', async () => { |
|
|
|
let expectedDateTimeWithTz = []; |
|
|
|
let expectedDateTimeWithTz = []; |
|
|
|
|
|
|
|
|
|
|
|
if (isSqlite(context)) { |
|
|
|
if (isSqlite(context)) { |
|
|
|
expectedDateTimeWithoutTz = ['2023-04-27 10:00:00', '2023-04-27 10:00:00+05:30', `2023-04-27 04:30:00+00:00`]; |
|
|
|
expectedDateTimeWithoutTz = [ |
|
|
|
expectedDateTimeWithTz = ['2023-04-27 10:00:00', '2023-04-27 10:00:00+05:30', `2023-04-27 04:30:00+00:00`]; |
|
|
|
'2023-04-27 10:00:00', |
|
|
|
|
|
|
|
'2023-04-27 10:00:00+05:30', |
|
|
|
|
|
|
|
getDateTimeInUTCTimeZone('2023-04-27 10:00:00+00:00'), |
|
|
|
|
|
|
|
]; |
|
|
|
|
|
|
|
expectedDateTimeWithTz = [ |
|
|
|
|
|
|
|
'2023-04-27 10:00:00', |
|
|
|
|
|
|
|
'2023-04-27 10:00:00+05:30', |
|
|
|
|
|
|
|
getDateTimeInUTCTimeZone('2023-04-27 10:00:00+00:00'), |
|
|
|
|
|
|
|
]; |
|
|
|
} else if (isPg(context)) { |
|
|
|
} else if (isPg(context)) { |
|
|
|
expectedDateTimeWithoutTz = ['2023-04-27 10:00:00', '2023-04-27 10:00:00', '2023-04-27 10:00:00']; |
|
|
|
expectedDateTimeWithoutTz = ['2023-04-27 10:00:00', '2023-04-27 10:00:00', '2023-04-27 10:00:00']; |
|
|
|
expectedDateTimeWithTz = [ |
|
|
|
expectedDateTimeWithTz = [ |
|
|
|