From d53f549c37353b5be634d78f5d06a7facef0ff28 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Wed, 18 Nov 2015 17:05:33 +0100 Subject: [PATCH] Datepicker: Fix outdated Globalize format option in date-format demo --- demos/datepicker/date-formats.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } ); }