diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2011-02-21 14:45:54 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2011-02-21 14:45:54 +0100 |
commit | 84a4a4442d25631bd00b50d48ff2d57a6089f6d3 (patch) | |
tree | 111c327befdc3cff15384d0dc56f9ff09281a651 /ui/jquery.ui.datepicker.js | |
parent | 5082e3e9717afaf0d6da1f863341d660c74c951c (diff) | |
parent | 7c4d6a763dfb5f9debf30c9a20875e046e89bc76 (diff) | |
download | jquery-ui-84a4a4442d25631bd00b50d48ff2d57a6089f6d3.tar.gz jquery-ui-84a4a4442d25631bd00b50d48ff2d57a6089f6d3.zip |
Merge branch 'master' of github.com:jquery/jquery-ui
Diffstat (limited to 'ui/jquery.ui.datepicker.js')
-rw-r--r-- | ui/jquery.ui.datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index ff6ebad52..c23984530 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -1656,7 +1656,7 @@ $.extend(Datepicker.prototype, { /* Find the number of days in a given month. */ _getDaysInMonth: function(year, month) { - return 32 - new Date(year, month, 32).getDate(); + return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate(); }, /* Find the day of the week of the first of a month. */ |