aboutsummaryrefslogtreecommitdiffstats
path: root/ui/date.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/date.js')
-rw-r--r--ui/date.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/date.js b/ui/date.js
index ba9203873..2d94f1083 100644
--- a/ui/date.js
+++ b/ui/date.js
@@ -59,6 +59,7 @@ $.extend( $.ui.date.prototype, {
setDay: function( day ) {
var date = this.dateObject;
+
// FIXME: Why not to use .setDate?
this.dateObject = new Date( date.getFullYear(), date.getMonth(), day, date.getHours(),
date.getMinutes(), date.getSeconds() );