-
Notifications
You must be signed in to change notification settings - Fork 326
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
Fixed scheduler time zone validation error #518
Conversation
@microsoft-github-policy-service agree company="Microsoft" |
Hi @louiseph added some comments on this PR. |
Local Time: 12 pm PDT
|
@louiseph looks like its still showing the same issue. When I input the start time, it is not taking into account of the timezone and timezone is coming through as 0 |
Reviewed and tested the change and it worked as expected. |
@msalemcode I think lets hold off on this as when I tried with a different time zone browser it didnt work. Can you confirm if that works for you? |
Thanks @msalemcode and @code4clouds |
The date time conversion was happening inside the form element causing confusing UI and potential validation errors when treating local time as UTC. Proposed solution would be to keep everything locale-based on the client side, while doing any UTC conversions on the backend by passing in the
TimezoneOffset
parameter.