Releases: nehakadam/DateTimePicker
Minor Bug Fixes and Updated Example
Minor Bug Fixes -
Modified oDateTime
parameter of formatDateTimeString
callback to add -
oDateTime.day
- full day name
oDateTime.dayShort
- short day name
Updated Example -
Updated “BasicExamples-CustomInputValue.htm” to include TimePicker and DateTimePicker.
Callback Function For Custom Formatting and Parsing
Added a callback functions for parsing and formatting DateTime string in a format not supported by DateTimePicker.
parseDateTimeString(sDateTime, sMode, oInputElement)
Parsing a custom DateTime string to a Javascript Date object.formatDateTimeString(oDateTime, sMode, oInputElement)
Formatting Date in a Custom DateTime Format.
Example - Custom Input Value
Zepto Support
Added DateTimePicker-Zepto.js file.
You will have to use a custom build of Zepto with following Modules -
- Core Modules (zepto, event, ajax, form, ie)
- fx
- fx_methods
- data
There are some bugs because Zepto does not support all events and functions of jQuery.
Known Bugs -
- DateTimePicker is removed when you switch tab while DateTimePicker popup is open because
blur
event is not fired. - TAB-key based navigation is not working since selector $("[tabIndex="+ var_tabindex + "]") is not supported. So supporting this feature atleast with current code is not possible. See Zepto Issue
Dutch and French Locale Files
Added Dutch and French Locale Files.
i18n Support, Month-Year Format and Human Date Formatting
- Improved support for Internationalization. i18n strings for a particular
language
can be added in a separate file and used in your application. This features is modified based on #55. Added example of Internationalization. - Added 3 new
dateFormat
options ("MM yyyy", "MMM yyyy", "MMMM yyyy") andmonthYearSeparator
for these options. This features is modified based on #18. Added example of new dateFormats. - Modified
formatHumanDate
callback function to work in allmode
s ("date", "time", "datetime"). Modified example of Human Date Formatting.
Support for Seconds in TimeFormat and DateTimeFormat
Changes in “DateTimePicker.js" -
- support for Seconds in TimeFormat and DateTimeFormat as requested in #15
secondsInterval
parameter to increment/decrement values in certain intervalsroundOffInterval
parameter to round off value of seconds in will be rounded off to nearest integer divisible bysecondsInterval
Added Examples -
- TimeFormat and DateTimeFormat with Seconds
- Implementation of secondsInterval
- Set Today as Minimum Date
Known Bugs -
Broken functionality on navigation using TAB.
Fix for Blinking of DateTimePicker.
Fixed Blinking of DateTimePicker related to #52.
Resolution of #51(Show DateTimePicker) and #48(Example)
- Resolved issue #51-
Hide Previous DateTimePicker and Show New DateTimePicker on Next Input
Field Click when usingisPopup: false
. - Added Example - Multiple MinuteIntervals to display two TimePickers with different
minuteInterval
on a single page.
Fixed issue in DateTime Keyboard Input
When values in Hours and Minutes Input boxes were entered as blank, on blur event NaN value used to be assigned in the Input Box.