Download Latest Version 0.1.39.zip (526.4 kB)
Email in envelope

Get an email when there's a new version of DateTimePicker

Home / 0.1.37
Name Modified Size InfoDownloads / Week
Parent folder
Added Format as a parameter in callbacks and examples for #122 and #125.tar.gz 2016-11-05 435.1 kB
Added Format as a parameter in callbacks and examples for #122 and #125.zip 2016-11-05 513.2 kB
README.md 2016-11-05 779 Bytes
Totals: 3 Items   949.0 kB 0

Added Format as a parameter in parseDateTimeString and formatDateTimeString callbacks to let it support different formats. Previously, with this function parsing or formatting of only one format was possible. Now based on format different code can be written for parsing or formatting the date.

parseDateTimeString: function(sDateTime, sMode, sFormat, oInputElement) {
}

formatDateTimeString: function(oDate, sMode, sFormat, oInputElement) {
}

Added exmaple in which date format of date string in input field is different from the date format of date string to be displayed on DateTimePicker, as requested in [#125]

Added exmaple for using different date formats for storing date in the database and displaying on DateTimePicker, as requested in [#122]

Source: README.md, updated 2016-11-05