Responsive jQuery DateTime Picker plugin for Web & Mobile
Fixes issue - #155 In Google Chrome (73.0.3683.75, 64-Bit): Picker closes immediately after showing
Change in Copyright Text and Repository URLs Repository is moved from CuriousSolutions/DateTimePicker to nehakadam/DateTimePicker.
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
Added support for "yyyy-MM" Date format as per #121.
Added parentelement data attribute for initializing multiple pickers with different properties on a single page. This functionality was already their but it had to be included in DateTimePicker plugin initialization code.
Set Date as minDate, maxDate, minTime, maxTime, minDateTime and maxDateTime value. Previously, only string value in input DateFormat / TimeFormat / DateTimeFormat could be set as minimum and maximum date.
Removed console messages to avoid warnings
isInline: true
. Since DateTimePicker is added inline, input element should be explicitly specified with inputElement: <jQuery object of Element>
. Check Example Inline View.readonlyInputs: true
.showHeader: false
.