You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
minDate is provided in format "yyyy-MM-dd", there seem to be some date conversions happening that block the minimum date from being selected in certain time zones. For example when minDate is "2021-01-01", a user with Mumbai (GMT+5:30) timezone will be unable to select 2021-01-01, but the minimum date they are able to select is 2021-01-02. At the same time a user in the Pacific Timezone will be able select 2021-01-01, but they will also have the option to select 2020-12-31 although the date will be invalidated.
Change the browsers timezone to Mumbai (GMT+5:30). In Chrome you can open devtools select Menu “⋮” > More tools > Sensors > Change location to Mumbai. Check timezone has been changed.
Scroll to the third example where min-date="1/1/2020". The earliest date you can select is 1/2/2020. Unable to select 1/1/2020.
Isolated example
Expected behavior
The minimum date should be available to select regardless of the timezone user is in.
Screenshots
Priority:(optional)(Low, Medium, High or Very High)
Medium
The text was updated successfully, but these errors were encountered:
Describe the bug
minDate is provided in format "yyyy-MM-dd", there seem to be some date conversions happening that block the minimum date from being selected in certain time zones. For example when minDate is "2021-01-01", a user with Mumbai (GMT+5:30) timezone will be unable to select 2021-01-01, but the minimum date they are able to select is 2021-01-02. At the same time a user in the Pacific Timezone will be able select 2021-01-01, but they will also have the option to select 2020-12-31 although the date will be invalidated.
To reproduce
Steps to reproduce the behavior:
Isolated example
Expected behavior
The minimum date should be available to select regardless of the timezone user is in.
Screenshots
Priority: (optional) (Low, Medium, High or Very High)
Medium
The text was updated successfully, but these errors were encountered: