Skip to content

Commit d4e9ea5

Browse files
committed
(fix) Datepicker: Use Globalize 1.0.0
- fix max and min _getCreateOptions (rebase matter);
1 parent 4e65e51 commit d4e9ea5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

ui/datepicker.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,8 @@ widget = $.widget( "ui.datepicker", {
7373

7474
_getCreateOptions: function() {
7575
return {
76-
max: Globalize.parseDate(
77-
this.element.attr( "max" ),
78-
{ pattern: "yyyy-MM-dd" }
79-
),
80-
min: Globalize.parseDate(
81-
this.element.attr( "min" ),
82-
{ pattern: "yyyy-MM-dd" }
83-
)
76+
max: this.element.attr( "max" ),
77+
min: this.element.attr( "min" )
8478
};
8579
},
8680

0 commit comments

Comments
 (0)