aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/spinner/time.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/spinner/time.html b/demos/spinner/time.html
index 860ae3f48..7fc1e26ce 100644
--- a/demos/spinner/time.html
+++ b/demos/spinner/time.html
@@ -30,7 +30,7 @@
},
_format: function() {
- this.element.val( Globalize.format( new Date(this.options.value), "t" ) );
+ return Globalize.format( new Date(this.options.value), "t" );
}
});