-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Not able to create consecutive ooo #17388
base: main
Are you sure you want to change the base?
fix: Not able to create consecutive ooo #17388
Conversation
@vijayraghav-io is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (10/29/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (10/29/24)1 label was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (10/30/24)1 label was added to this PR based on Keith Williams's automation. |
const startDateUtc = dayjs.utc(startDate).add(input.offset, "minute"); | ||
const endDateUtc = dayjs.utc(endDate).add(input.offset, "minute"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good use of startDateUtc and endDateUtc for consistent date handling. Should help avoid time zone issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall!
Just a couple of small tweaks noted, nice work on improving the OOO checks.
E2E results are ready! |
@AliPythonDev Has this been tested to ensure it works? I see no automated tests were modified in this PR (which should happen) |
yes sure will add/update tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking as requested changes while @vijayraghav-io updates the tests.
What does this PR do?
Issue:
https://www.loom.com/share/3bb5b7022156496b8ab936bb5e161cbf?sid=a5392921-b3a6-4e47-80f2-4951e80aa811
Fix:
https://www.loom.com/share/aaa9fd01fcb440738ffa6e144e4bb59e?sid=87f987e5-0e29-4719-9845-0f125a9c5c2c
Mandatory Tasks (DO NOT REMOVE)