Skip to content

Commit 44565e5

Browse files
committed
update test
1 parent 4b1bc9c commit 44565e5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/components/src/internal/util/Date.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,9 +1119,8 @@ describe('Date Utilities', () => {
11191119
expect(isDateTimeInPast(datePlusHours(utcNow, -1), TZ)).toBeTruthy();
11201120
expect(isDateTimeInPast(datePlusHours(utcNow, 1), TZ)).toBeTruthy();
11211121
expect(isDateTimeInPast(datePlusHours(utcNow, 2), TZ)).toBeTruthy();
1122-
expect(isDateTimeInPast(datePlusHours(utcNow, 3), TZ)).toBeTruthy();
11231122

1124-
// Europe/Kyiv timezone is +3 hours UTC
1123+
// Europe/Kyiv timezone is +2 (EET) or +3 (EEST) hours UTC
11251124
expect(isDateTimeInPast(datePlusHours(utcNow, 4), TZ)).toBeFalsy();
11261125
expect(isDateTimeInPast(datePlusHours(utcNow, 5), TZ)).toBeFalsy();
11271126
expect(isDateTimeInPast(datePlusHours(utcNow, 6), TZ)).toBeFalsy();

0 commit comments

Comments
 (0)