Skip to content

Commit 4d66b50

Browse files
Update js-datepicker usage for new jQuery UI
1 parent 8cfcc90 commit 4d66b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/date.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Assuming you're using jQuery, you can initialize the date picker via:
108108
<script>
109109
$(document).ready(function() {
110110
$('.js-datepicker').datepicker({
111-
format: 'yyyy-mm-dd'
111+
dateFormat: 'yy-mm-dd'
112112
});
113113
});
114114
</script>

0 commit comments

Comments
 (0)