Changelog:
- New:
parseDate
config option- Adds ability to parse date using a user-defined date-string parser (2512d00)
- New:
enableSeconds
config option- enables seconds in datetimepicker
- New: Ordinal date suffixes now available for
dateFormat
andaltFormat
under symbolJ
- Ordinal date is the day number + suffix e.g. 1st, 2nd, 3rd, 25th, etc
- You may now disable nth weekday simply by including string
"wkd" + n
indisable[]
option- if your first day of week is e.g. 1 = monday, "wkd1" in disable[] will disable mondays, wkd7 will disable sundays, etc
Also:
- Localization: flatpickr is now available in 19 languages 🎉
- calendar now gets closed on disfocus in addition to an outside click (see #98)
- Many other fixes and improvements