mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Datepicker: Fix outdated Globalize format option in date-format demo
This commit is contained in:
parent
9a879d0fdc
commit
d53f549c37
@ -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 } );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user