aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/calendar.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2015-09-27 18:35:35 +0200
committerFelix Nagel <info@felixnagel.com>2015-09-27 18:45:53 +0200
commitdcef45359418fe103beed0ada435da5080cc16ef (patch)
tree2df9615de068b35f4a6c40d7badb5dd028c24462 /ui/widgets/calendar.js
parentaf7d2009ce95cf1975bb840ba9d2da9b3fb7a52b (diff)
downloadjquery-ui-dcef45359418fe103beed0ada435da5080cc16ef.tar.gz
jquery-ui-dcef45359418fe103beed0ada435da5080cc16ef.zip
Calendar: Move custom date object to ui namespace
Diffstat (limited to 'ui/widgets/calendar.js')
-rw-r--r--ui/widgets/calendar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/widgets/calendar.js b/ui/widgets/calendar.js
index 25c1df001..63b09ede3 100644
--- a/ui/widgets/calendar.js
+++ b/ui/widgets/calendar.js
@@ -22,7 +22,7 @@
"globalize",
"globalize/date",
"globalize-locales",
- "date",
+ "../date",
"./button",
"../widget",
"../version",
@@ -78,7 +78,7 @@ return $.widget( "ui.calendar", {
this._setLocale( this.options.locale, this.options.dateFormat );
- this.date = new $.ui.calendarDate( this.options.value, this._calendarDateOptions );
+ this.date = new $.ui.date( this.options.value, this._calendarDateOptions );
this.viewDate = this.date.clone();
this.viewDate.eachDay = this.options.eachDay;