mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #257 from snydesc/master
Format should be applied to option value
This commit is contained in:
commit
5881907710
@ -871,10 +871,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (options.value) {
|
if (options.value) {
|
||||||
if (input && input.val) {
|
|
||||||
input.val(options.value);
|
|
||||||
}
|
|
||||||
_xdsoft_datetime.setCurrentTime(options.value);
|
_xdsoft_datetime.setCurrentTime(options.value);
|
||||||
|
if (input && input.val) {
|
||||||
|
input.val(_xdsoft_datetime.str);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isNaN(options.dayOfWeekStart)) {
|
if (isNaN(options.dayOfWeekStart)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user