diff --git a/jquery.datetimepicker.js b/jquery.datetimepicker.js index 857660b..ec46909 100644 --- a/jquery.datetimepicker.js +++ b/jquery.datetimepicker.js @@ -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)) {