npm flatpickr 1.8.8
flatpickr v1.8.8

latest releases: 4.6.13, 4.6.11, 4.6.10...
7 years ago

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 and altFormat under symbol J
    • 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 in disable[] 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

Don't miss a new flatpickr release

NewReleases is sending notifications on new releases.