Format should be applied to option value

The format should be applied to the value being set.
This commit is contained in:
snydesc 2015-04-01 10:53:52 -04:00
parent 98d589d700
commit 1a588559b8

View File

@ -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)) {