mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Format should be applied to option value
The format should be applied to the value being set.
This commit is contained in:
parent
98d589d700
commit
1a588559b8
@ -871,10 +871,10 @@
|
||||
}
|
||||
|
||||
if (options.value) {
|
||||
if (input && input.val) {
|
||||
input.val(options.value);
|
||||
}
|
||||
_xdsoft_datetime.setCurrentTime(options.value);
|
||||
if (input && input.val) {
|
||||
input.val(_xdsoft_datetime.str);
|
||||
}
|
||||
}
|
||||
|
||||
if (isNaN(options.dayOfWeekStart)) {
|
||||
|
Loading…
Reference in New Issue
Block a user