|
|
@ -802,9 +802,6 @@ test.describe.serial('External DB - DateTime column', async () => { |
|
|
|
dateTimeString => dateTimeString.substring(0, 17) + '00' + dateTimeString.substring(19) |
|
|
|
dateTimeString => dateTimeString.substring(0, 17) + '00' + dateTimeString.substring(19) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
console.log('dateTimeWithoutTz', dateTimeWithoutTz); |
|
|
|
|
|
|
|
console.log('dateTimeWithTz', dateTimeWithTz); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expect(dateTimeWithoutTz).toEqual(expectedDateTimeWithoutTz); |
|
|
|
expect(dateTimeWithoutTz).toEqual(expectedDateTimeWithoutTz); |
|
|
|
expect(dateTimeWithTz).toEqual(expectedDateTimeWithTz); |
|
|
|
expect(dateTimeWithTz).toEqual(expectedDateTimeWithTz); |
|
|
|
}); |
|
|
|
}); |
|
|
@ -938,9 +935,6 @@ test.describe('Ext DB MySQL : DB Timezone configured as HKT', () => { |
|
|
|
dateTimeString => dateTimeString.substring(0, 17) + '00' + dateTimeString.substring(19) |
|
|
|
dateTimeString => dateTimeString.substring(0, 17) + '00' + dateTimeString.substring(19) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
console.log('dateTimeWithoutTz', dateTimeWithoutTz); |
|
|
|
|
|
|
|
console.log('dateTimeWithTz', dateTimeWithTz); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
expect(dateTimeWithoutTz).toEqual(expectedDateTimeWithoutTz); |
|
|
|
expect(dateTimeWithoutTz).toEqual(expectedDateTimeWithoutTz); |
|
|
|
expect(dateTimeWithTz).toEqual(expectedDateTimeWithTz); |
|
|
|
expect(dateTimeWithTz).toEqual(expectedDateTimeWithTz); |
|
|
|
}); |
|
|
|
}); |
|
|
|