Browse Source

test: tz GMT fix

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5306/head
Raju Udava 2 years ago
parent
commit
e5da0dbfd3
  1. 2
      tests/playwright/setup/xcdb-records.ts

2
tests/playwright/setup/xcdb-records.ts

@ -39,7 +39,7 @@ const rowMixedValue = (column: ColumnType, index: number) => {
// compute timezone offset
const offset = new Date().getTimezoneOffset();
const timezoneOffset =
(offset < 0 ? '+' : '-') +
(offset <= 0 ? '+' : '-') +
String(Math.abs(Math.round(offset / 60))).padStart(2, '0') +
':' +
String(Math.abs(offset % 60)).padStart(2, '0');

Loading…
Cancel
Save