Skip to content

Commit f55b529

Browse files
Merge branch 'master' of https://github.com/surveyjs/widgets
2 parents 1ec17a5 + 8445db7 commit f55b529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery-ui-datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function init(Survey, $) {
4343
});
4444
question.valueChangedCallback = function() {
4545
if (question.value) {
46-
pickerWidget.datepicker("setDate", new Date(question.value));
46+
pickerWidget.datepicker("setDate", question.value);
4747
} else {
4848
pickerWidget.datepicker("setDate", null);
4949
}

0 commit comments

Comments
 (0)