-
Notifications
You must be signed in to change notification settings - Fork 10.2k
refactor: ✨v2 bookings allow non utc start time #22078
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
base: main
Are you sure you want to change the base?
refactor: ✨v2 bookings allow non utc start time #22078
Conversation
@shaun-ak 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 • (06/27/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (06/27/25)1 label was added to this PR based on Keith Williams's automation. |
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.
cubic found 2 issues across 1 file. Review them in cubic.dev
React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai
to give specific feedback.
apps/api/v2/src/ee/bookings/2024-08-13/services/input.service.ts
Outdated
Show resolved
Hide resolved
apps/api/v2/src/ee/bookings/2024-08-13/services/input.service.ts
Outdated
Show resolved
Hide resolved
WalkthroughA new private method, Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes The changes are localized to a single file and primarily involve refactoring existing parsing logic into a new private method and replacing previous calls with this method. The complexity is low since no new business logic or error handling was introduced, and the scope is limited to consistent usage of the new parsing method. Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes were identified. Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Hey @anikdhabal @kart1ka , just a gentle ping if this could be reviewed. |
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.
LGTM
What does this PR do?
Users can now send start times in any ISO 8601 format:
Fixes #21738 (GitHub issue number)
Fixes CAL-5903 (Linear issue number - should be visible at the bottom of the GitHub issue description)
Image Demo (if applicable):
With timezone offset (+05:30):

Without any timezone, will take from attendee.timezone:

With UTC (Z) at the end:

Mandatory Tasks (DO NOT REMOVE)
Summary by cubic
Bookings now accept start times in any ISO 8601 format, including those with time zone offsets, UTC (Z), or local times based on the attendee's time zone.