diff --git a/demos/datepicker/date-formats.html b/demos/datepicker/date-formats.html index 500c4a7f6..a234e223b 100644 --- a/demos/datepicker/date-formats.html +++ b/demos/datepicker/date-formats.html @@ -15,7 +15,7 @@ value = $( this ).val(); if ( value === "iso" ) { - datepicker.datepicker( "option", "dateFormat", { pattern: "yyyy-MM-dd" } ); + datepicker.datepicker( "option", "dateFormat", { raw: "yyyy-MM-dd" } ); } else { datepicker.datepicker( "option", "dateFormat", { date: value } ); }