aboutsummaryrefslogtreecommitdiffstats
path: root/demos/spinner/time.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/spinner/time.html')
-rw-r--r--demos/spinner/time.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/spinner/time.html b/demos/spinner/time.html
index 5a3c3767e..860ae3f48 100644
--- a/demos/spinner/time.html
+++ b/demos/spinner/time.html
@@ -6,8 +6,8 @@
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.6.2.js"></script>
<script src="../../external/jquery.mousewheel-3.0.4.js"></script>
- <script src="../../external/jquery.global.js"></script>
- <script src="../../external/jquery.global.de-DE.js"></script>
+ <script src="../../external/globalize.js"></script>
+ <script src="../../external/globalize.culture.de-DE.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.button.js"></script>
@@ -24,13 +24,13 @@
_parse: function( value ) {
if ( typeof value === "string" ) {
- return +$.global.parseDate( value );
+ return +Globalize.parseDate( value );
}
return value;
},
_format: function() {
- this.element.val( $.global.format( new Date(this.options.value), "t" ) );
+ this.element.val( Globalize.format( new Date(this.options.value), "t" ) );
}
});
@@ -39,7 +39,7 @@
$( "#culture" ).change(function() {
var current = $( "#spinner" ).timespinner( "value" );
- $.global.preferCulture( $(this).val() );
+ Globalize.culture( $(this).val() );
$( "#spinner" ).timespinner( "value", current );
});
});