Datepicker: Fix outdated Globalize format option in date-format demo

This commit is contained in:
Felix Nagel 2015-11-18 17:05:33 +01:00
parent 9a879d0fdc
commit d53f549c37

View File

@ -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 } );
}