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
I'm not sure if this is an error in createDateParser or createDateFormatter, but this date should result in an "Invalid date provided" because the month m is not 01-12, and the day d is not 01 to 31 as specified in the docs.
Your Environment
flatpickr version used: 4.6.13
Browser name and version: Chrome 121.0.6167.184 (Official Build) (arm64)
OS and version: MacOS 13.6 (22G120)
The text was updated successfully, but these errors were encountered:
If a parameter you specify is outside of the expected range, other parameters and the date information in the Date object are updated accordingly. For example, if you specify 15 for monthValue, the year is incremented by 1, and 3 is used for month.
Repro: https://jsfiddle.net/b9jtc1m6/1/
Steps to reproduce
77/77/7777
and hit enter07/16/7783
I'm not sure if this is an error in
createDateParser
orcreateDateFormatter
, but this date should result in an "Invalid date provided" because the monthm
is not 01-12, and the dayd
is not 01 to 31 as specified in the docs.Your Environment
The text was updated successfully, but these errors were encountered: