We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b1bc9c commit 44565e5Copy full SHA for 44565e5
1 file changed
packages/components/src/internal/util/Date.test.ts
@@ -1119,9 +1119,8 @@ describe('Date Utilities', () => {
1119
expect(isDateTimeInPast(datePlusHours(utcNow, -1), TZ)).toBeTruthy();
1120
expect(isDateTimeInPast(datePlusHours(utcNow, 1), TZ)).toBeTruthy();
1121
expect(isDateTimeInPast(datePlusHours(utcNow, 2), TZ)).toBeTruthy();
1122
- expect(isDateTimeInPast(datePlusHours(utcNow, 3), TZ)).toBeTruthy();
1123
1124
- // Europe/Kyiv timezone is +3 hours UTC
+ // Europe/Kyiv timezone is +2 (EET) or +3 (EEST) hours UTC
1125
expect(isDateTimeInPast(datePlusHours(utcNow, 4), TZ)).toBeFalsy();
1126
expect(isDateTimeInPast(datePlusHours(utcNow, 5), TZ)).toBeFalsy();
1127
expect(isDateTimeInPast(datePlusHours(utcNow, 6), TZ)).toBeFalsy();
0 commit comments