Releases: stefangabos/Zebra_Datepicker
Releases · stefangabos/Zebra_Datepicker
Version 1.9.3 released
- when the "value" attribute of the element is set, use that instead of "start_date"; thanks Vojtěch Biberle
- fixed a bug where "header_navigation", "lang_clear_date" and "show_select_today" properties could not be updated via the "update" method; thanks André Fiedler
- fixed a bug where the paired date picker was not updated when users would manually enter a date in the first date picker; thanks Toby for reporting
- icon position is now updated when changing orientation on mobile devices; thanks to chenghong for suggesting
- added "clear_date" and "set_date" public methods; thanks Jason Davis for suggesting
- added new "open_icon_only" property which, when set to TRUE, will result in the date picker showing only when users click on the associated icon, and not on element focus
- dates prior to year 1000 are now disabled as this library cannot handle years below 1000
- better comnonjs-support; thanks Stefan Schult
Version 1.9.2 released
- fixed bug with the "views" property which was not working anymore since the previous release; thanks to DJM75 for reporting!
Version 1.9.1 released
- fixed an issue where having more date pickers on a page and destroying one of the date pickers would remove the event handlers for all date pickers on the page; thanks to lpproulx for reporting;
- date pickers can now also be injected in custom elements; previously date picker were always injected in the element; very useful if you want the date picker to always open at a specific position; thanks to Daniel Ivan for suggesting;
- the library is now compatible with AMD and CommonJS; thanks to Andrzej Duś
- added a new "onClose" event; thanks to W. van Kuipers;
- added touchstart event for closing the date picker on a touchevent enabled browsers; thanks W. van Kuipers
- increased zIndex value to 1200, making the date picker usable with Twitter Bootstrap's modals; thanks to Kiswono Prayogo;
- better fix for the issues in Firefox, solved in previous release, which made transitions to not work anymore; thanks to René Jackowski
Version 1.9.0 released
- added some CSS attributes for the main table, in order to override defaults set by some frameworks; thanks to Paul Morganthall for suggesting;
- added a new "default_position" property, useful for setting whether the date picker should, by default, appear above or below the element it is attached to;
- fixed an issue in latest versions of Firefox in which, even though the date picker is absolutely positioned, it takes up space in the layout; thanks to Joost for noticing;
- fixed a bug with paired date pickers where the second date picker's range was not depending on the first date picker's date unless a date in the first date picker was manually selected, and thus ignoring any default values; thanks to Pascal Lindelauf;
- fixed a bug with highlighting months where in "months" view, if current date was higher than the number of days in February, the month would not be highlighted; thanks to Mark Tuor;
- fixed a bug with where if a text box a date picker is attached to would be disabled at run-time, the date picker's calendar icon would remain "enabled" after calling the "update" method; thanks to Frans for reporting;
- datepicker visibility is now controlled from CSS;
- fixed an issue because of which the library was not compatible with jQuery 1.5.2+ (as stated) but required jQuery 1.7+ instead; thanks to MartinGaedeke for spotting it and to Prakhar Birla for the fix;
Version 1.8.9 released
- added a new "header_captions" property, useful for customizing captions in the datepicker's header, for the 3 possible views: days, months, years; thanks to Lodewyk and Ram for suggesting;
- added a new "onOpen" event for executing callback functions when the date picker is shown;
- the "onSelect" callback takes an extra argument - the ISO 8601 week number of the selected date;
- users can now always use the next/previous buttons; thanks to Mozart for suggesting;
- the "this" keyword in callbacks now correctly refer to the element the datepicker is attached to; thanks to syahman for reporting;
- when having a date formats without year, the "years" view will not be visible anymore; thanks to MarkG;
- fixed a bug when having non ASCII characters in month names; thanks to straightdog and Muhobrc for reporting, and to D-ominik for providing a fix;
- fixed an issue with the "pair" attribute which, when given as a data attribute, would cause a JavaScript error; thanks to Domenico Giambra;
- fixed a bug with the iFrame shim in IE6 which was not working as expected and "selects" elements where shown above the date picker; thanks to chenghong for reporting;
- fixed a minor bug where the date picker would close for any key press not just for the ESC key; thanks to nacho for reporting;
- fixed a minor bug where, when looking at the "months" view, the selected month would always be highlighted even if the user would switch years; thanks to Yoyee Zhu for reporting;
- updated jQuery version in the examples folder to 1.11.1;
Version 1.8.8 released
Version 1.8.7 released
- added a new "header_navigation" property allowing custom HTML for the next/previous months buttons; thanks to norlin;
- fixed a minor bug with paired date pickers;
- minor performance tweaks;
Version 1.8.6 released
- added a new "strict" property which controls whether default values, in the input field the date picker is attached to, should be deleted if they are not valid according to "direction" and/or "disabled_dates", and which is set to FALSE by default; previously the plugin was always removing such dates; thanks Morten;
- fixed a bug width selectable dates of other months than the current one having an incorrect class attached to them; thanks to Khoomei for spotting this!
- fixed a bug where when clearing dates of always-visible datepickers, the class indicating the "selected" state of cells was not being removed;
- removed some old code that was used back when the calendar icon was absolutely positioned and because of which the calendar icon was invisible if the parent element was placed in a parent element with "display: none"; thanks to Michael Residori;
- updated jQuery version used in examples to 1.10.2;
Version 1.8.5 released
- properties can now be set via data attributes; thanks to Yuriy Silvestrov who suggested this a long time ago;
- fixed a bug where if the "show_icon" property was set to FALSE an open date picker would not close upon window resize and therefore it would remain in an incorrect position if the parent element was to change position during the process; thanks Marco;
Version 1.8.4 released!
- added a "destroy" method; thanks TeckniX;
- date picker now disappears upon window resize; previously it would remain in the same position upon window resize, even though the parent element could be repositioned in the process; thanks hanneslinder;
- fixed a position bug that appearing in newer versions of Firefox where Firefox sets the "display" property of <input> elements to "inline" instead of "inline-block" as do the other browsers; thanks to discotizer;