fix: Failing futureLimit handleNewBooking test (#15155)

This commit is contained in:
Hariom Balhara authored and GitHub committed 2024-05-22 14:44:56 +05:30
1 parent aca2b29aa4
commit 4217efc5a8
2 files changed
+7 -4

No files matched your search

@@ -653,6 +653,8 @@ export async function createOrganization(orgData: {
* - `monthIncrement` adds the increment to current month
* - `yearIncrement` adds the increment to current year
* - `fromDate` starts incrementing from this date (default: today)
* @deprecated Stop using this function as it is not timezone aware and can return wrong date depending on the time of the day and timezone. Instead
* use vi.setSystemTime to fix the date and time and then use hardcoded days instead of dynamic date calculation.
*/
export const getDate = (
param: {