Fix schedule using wrong month at the beginning hours of month (#15290)

* Fix schedule using wrong month at the beginning hours of month

* fix broken test

* fix switchover for time based matchers

* Fix scheduling issue related to timezones

* Fix end date creating issues
This commit is contained in:
Phillip Thelen
2024-08-06 19:35:05 +02:00
committed by GitHub
parent 6293a4b936
commit 63918b3c20
4 changed files with 67 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ describe('time-travelers store', () => {
describe('on may 1st', () => {
beforeEach(() => {
date = new Date('2024-05-01');
date = new Date('2024-05-01T09:00:00.000Z');
});
it('returns the correct gear', () => {
const items = timeTravelers.timeTravelerStore(user, date);