diff options
Diffstat (limited to 'ui/widgets/calendar.js')
-rw-r--r-- | ui/widgets/calendar.js | 4 |
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; |