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

'timezone' property is not taken into account when setting 'today' date in calendar view #579

Closed
velesvictoria opened this issue Sep 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@velesvictoria
Copy link

Describe the bug
If passing 'timezone' prop to datepicker it shows wrong 'today' date. The date of 'today' is calculated using local client timezone, not the one passed as prop.

To Reproduce
Steps to reproduce the behavior:

  1. Pass any timezone as 'timazone' prop to datepicker in which has big time difference with your local one and in which the 'today' date differs from your local 'today' now

Expected behavior
'today' styles are applied to the date that is considered as current day in the timezone which is passed as a prop

Screenshots
Screenshot 2023-09-19 at 6 29 47 PM

Desktop & mobile:

  • Browser: Chrome (Chromium Engine Version 116.0.5845.187)
  • Library version: 6.1.0
@velesvictoria velesvictoria added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels Sep 19, 2023
@Jasenkoo Jasenkoo removed the awaiting triage The issue is not reviewed by the maintainers label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants