Fix/DST issues (#7462)
* use the organizer timezone and invitee timezone to show slots * type fixes * set start date on selected TZ on booking payload * add considerations when only the invitee is on DTS * Apply suggestions from code review Co-authored-by: alannnc <[email protected]> Co-authored-by: Omar López <[email protected]> * fixes typo * Apply suggestions from code review Co-authored-by: alannnc <[email protected]> * cleaning --------- Co-authored-by: Alex van Andel <[email protected]> Co-authored-by: Omar López <[email protected]> Co-authored-by: alannnc <[email protected]>
This commit is contained in:
7 files changed
+134
-19
No files matched your search
@@ -24,6 +24,7 @@ describe("Tests the slot logic", () => {
|
||||
},
|
||||
],
|
||||
eventLength: 60,
|
||||
organizerTimeZone: "America/Toronto",
|
||||
})
|
||||
).toHaveLength(24);
|
||||
});
|
||||
@@ -45,6 +46,7 @@ describe("Tests the slot logic", () => {
|
||||
},
|
||||
],
|
||||
eventLength: 60,
|
||||
organizerTimeZone: "America/Toronto",
|
||||
})
|
||||
).toHaveLength(12);
|
||||
});
|
||||
@@ -64,6 +66,7 @@ describe("Tests the slot logic", () => {
|
||||
},
|
||||
],
|
||||
eventLength: 60,
|
||||
organizerTimeZone: "America/Toronto",
|
||||
})
|
||||
).toHaveLength(0);
|
||||
});
|
||||
@@ -84,6 +87,7 @@ describe("Tests the slot logic", () => {
|
||||
minimumBookingNotice: 0,
|
||||
workingHours,
|
||||
eventLength: 60,
|
||||
organizerTimeZone: "America/Toronto",
|
||||
})
|
||||
).toHaveLength(0);
|
||||
});
|
||||
@@ -104,6 +108,7 @@ describe("Tests the slot logic", () => {
|
||||
},
|
||||
],
|
||||
eventLength: 60,
|
||||
organizerTimeZone: "America/Toronto",
|
||||
})
|
||||
).toHaveLength(11);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user