]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Update to Globalize 1.0.0
authorFelix Nagel <info@felixnagel.com>
Tue, 28 Jul 2015 20:37:47 +0000 (22:37 +0200)
committerFelix Nagel <info@felixnagel.com>
Tue, 28 Jul 2015 22:06:29 +0000 (00:06 +0200)
demos/datepicker/animation.html
demos/datepicker/date-formats.html
demos/datepicker/default.html
demos/datepicker/icon-trigger.html
demos/datepicker/localization.html
ui/datepicker.js

index 5f5fc6825aa7b8f16f0cabd35a3f3a05fa7d239b..f162231ba2654408ba40acd4f61e289cc179df34 100644 (file)
@@ -9,6 +9,7 @@
        <script src="../../external/cldrjs/cldr/event.js"></script>
        <script src="../../external/jquery/jquery.js"></script>
        <script src="../../external/globalize/globalize.js"></script>
+       <script src="../../external/globalize/globalize/number.js"></script>
        <script src="../../external/globalize/globalize/date.js"></script>
        <script src="../../external/localization.js"></script>
        <script src="../../external/date.js"></script>
index a98c99e7eff1c93cbb4c74894e5cd0d1f4f475f7..6c713a3396476d59128aa41dc98ae3879abaa5f1 100644 (file)
@@ -9,6 +9,7 @@
        <script src="../../external/cldrjs/cldr/event.js"></script>
        <script src="../../external/jquery/jquery.js"></script>
        <script src="../../external/globalize/globalize.js"></script>
+       <script src="../../external/globalize/globalize/number.js"></script>
        <script src="../../external/globalize/globalize/date.js"></script>
        <script src="../../external/localization.js"></script>
        <script src="../../external/date.js"></script>
index f57cd41bc61d9bfb1e8a38d6492a4187f929eb88..b4650ad1e44b716ddf10b222626983e37dbfcdde 100644 (file)
@@ -9,6 +9,7 @@
        <script src="../../external/cldrjs/cldr/event.js"></script>
        <script src="../../external/jquery/jquery.js"></script>
        <script src="../../external/globalize/globalize.js"></script>
+       <script src="../../external/globalize/globalize/number.js"></script>
        <script src="../../external/globalize/globalize/date.js"></script>
        <script src="../../external/localization.js"></script>
        <script src="../../external/date.js"></script>
index 933b38b9d66e404b742f1fd780d044582750be08..2478d29d85f758530152e5a981ee6c328614a663 100644 (file)
@@ -9,6 +9,7 @@
        <script src="../../external/cldrjs/cldr/event.js"></script>
        <script src="../../external/jquery/jquery.js"></script>
        <script src="../../external/globalize/globalize.js"></script>
+       <script src="../../external/globalize/globalize/number.js"></script>
        <script src="../../external/globalize/globalize/date.js"></script>
        <script src="../../external/localization.js"></script>
        <script src="../../external/date.js"></script>
index 71070c168cf3e037fb1efc6cdcd8006c00318c19..7d73a41540ccf989d8066452a0737675671b955c 100644 (file)
@@ -9,6 +9,7 @@
        <script src="../../external/cldrjs/cldr/event.js"></script>
        <script src="../../external/jquery/jquery.js"></script>
        <script src="../../external/globalize/globalize.js"></script>
+       <script src="../../external/globalize/globalize/number.js"></script>
        <script src="../../external/globalize/globalize/date.js"></script>
        <script src="../../external/localization.js"></script>
        <script src="../../external/date.js"></script>
index c1cced4ed7a9e87b40832fe47527409c9a0667cf..ba6fd75279b410dc92490642d3c63c76895ef1a0 100644 (file)
@@ -79,11 +79,11 @@ var widget = $.widget( "ui.datepicker", {
                        options = {};
 
                if ( max !== undefined ) {
-                       options.max = Globalize.parseDate( max, { pattern: "yyyy-MM-dd" } );
+                       options.max = Globalize.parseDate( max, { raw: "yyyy-MM-dd" } );
                }
 
                if ( min !== undefined ) {
-                       options.min = Globalize.parseDate( min, { pattern: "yyyy-MM-dd" } );
+                       options.min = Globalize.parseDate( min, { raw: "yyyy-MM-dd" } );
                }
 
                return options;
@@ -285,7 +285,7 @@ var widget = $.widget( "ui.datepicker", {
 
                this._format = globalize.dateFormatter({ date: "short" });
                this._parse = globalize.dateParser({ date: "short" });
-               this._parseYMD = globalize.dateParser({ pattern: "yyyy-MM-dd" });
+               this._parseYMD = globalize.dateParser({ raw: "yyyy-MM-dd" });
        },
 
        _buildPosition: function() {