Primereact Calendar component always convert the date to browser's timezone #4937
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Describe the bug
Primereact Calendar component always convert the date of any fixed timezone to browser's timezone. It should show the date in the original timezone only and should not convert it to browser's timezone when we are assigning a fixed value to the component.
Reproducer
https://stackblitz.com/edit/stackblitz-starters-8uoj3f?file=src%2FApp.tsx
PrimeReact version
9.6.2
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The calendar should display the date in original timezone and should not automatically convert it to browser's/client timezone.
The text was updated successfully, but these errors were encountered: