This repository was archived by the owner on Jun 26, 2022. It is now read-only.
Tags: techouse/intl-date-time
Tags
Fix error of not being able to set 0 defaultHour and defaultMinute (#54) This commit fixes a bug that does not allow use defaultHour(0) because 0 is considered as false and what we really want is to check if the field is empty. Therefore, null safe operator is used. REAME updated
Add interface to set defaultHour and defaultMinute (#53) In order to be able to specify the time that is displayed in the time selector, two meta-datas have been added. The default values of the flatpickr.js are 12 for defaultHour and 0 for defaultMinute. Docs to the two options used for this development: https://flatpickr.js.org/options/
PreviousNext