-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Description
Describe the bug
When typing a date without zeros and with a 2digit year, when the day is smaller than 13, it invert the day and the month even though the dateFormat is "dd/MM/yyyy"
To Reproduce
- react-datepicker with dateFormat="dd/MM/yyyy"
- type a date like '4/8/24" (4 August 2024)
Expected behavior
I expect to see the date 4th of August 2024 in the Datepicker (and also as value) and not 8th of April 2024
tannermann
Metadata
Metadata
Assignees
Labels
No labels