Releases: graste/datetime-local-picker
added package.json and shift+cursor keys special movement
This enables widgets using the picker to listen to onSetCurrentDate when user moves around with cursor keys while shift key is pressed which is handy when implementing a multiselect date picker. It's helpful, but not exhaustive when more finegrained control is needed as widget needs to listen to onDraw events to e.g. color code the various set dates.
Table layout fix for week of year number
The week of the year wasn't display: table-cell
as it was supposed to be in the table layout variant of the date picker.
Fix for version info in bower.json
Bower json file now contains the correct version: 0.2.1
Added method: clear
A clear()
method has been added to the API and is used internally to allow setting the input element value to an empty string. Prior to this the input couldn't be emptied once a valid date had been selected.
First public release
See notes of release 0.1.0 for infos.
Initial release
Initial release. Picker has list
and table
display modes, uses moment
to do date calculations and validation. The picker template can be customized and loaded or given as string or inline element content. CSS classes might be customized as well. I18N support is somewhat implemented. The public API gives access to certain functions (see index.html
, open the browser console and see window.foo
).
The datepicker can handle timestamps as well as dates and handles different formats for displaying and outputting values.