Skip to content
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- Calendar override with the wrong dates and time #8936

Merged
merged 2 commits into from May 19, 2023

Conversation

XLAR-8
Copy link
Contributor

@XLAR-8 XLAR-8 commented May 17, 2023

What does this PR do?

Fixes Issue/8833

disabled UTC casting for schedule get call because it is not required and later on we can Separate utc casting away from getworkinghours , Keeping date conversion as a reusable function, at a higher level provides more flexibility in handling different date and time requirements. You can easily switch between time zones, apply custom formatting, or incorporate additional logic based on the specific use cases or business rules of our application.

Todo: separate UTC casting logic from getworkinghours function as date conversion should happen at higher level functions, more towards presentation layer.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

  • Issue has guide to reproduce.

/claim #8833

@vercel
Copy link

vercel bot commented May 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2023 4:50pm

@vercel
Copy link

vercel bot commented May 17, 2023

@XLAR-8 is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Contributor

github-actions bot commented May 17, 2023

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@XLAR-8
Copy link
Contributor Author

XLAR-8 commented May 17, 2023

@PeerRich @CarlosSoares can you please review my PR ?

Copy link
Member

@CarinaWolli CarinaWolli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Nice fix 👍

@CarinaWolli CarinaWolli added this pull request to the merge queue May 19, 2023
Merged via the queue into calcom:main with commit 7502628 May 19, 2023
20 of 21 checks passed
@XLAR-8 XLAR-8 deleted the fix-calender-date branch May 22, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-1672] Calendar override with the wrong dates and time
3 participants