Skip to main content

Search and Top Navigation

#6978 closed bug (fixed)

Opened February 13, 2011 06:07AM UTC

Closed February 16, 2011 06:15PM UTC

Last modified October 17, 2012 06:39AM UTC

In Calender for march 2011 dates showing till 5th only.

Reported by: jomyjohn Owned by:
Priority: minor Milestone: 1.8.10
Component: ui.datepicker Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:
Description

In Calender for march 2011 dates showing till 5th only.

I am using Jquery Calendar successfully in my application . But I am getting a strange problem from Jordan users. Users from there can see dates only till 5th. No rows show after that. This issue happens only for the march 2011. It works for all other months even for march 2012. I test your demo application page also. There also same problem.

Thanks in advance.

Attachments (0)
Change History (6)

Changed February 16, 2011 10:57AM UTC by jomyjohn comment:1

I got the solution .

change the _getDaysInMonth to the following

_getDaysInMonth: function(year, month) {

return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate();

},

Changed February 16, 2011 06:15PM UTC by Scott González comment:2

resolution: → fixed
status: newclosed

Datepicker: Account for daylight saving when calculating number of days in a month. Fixes #6978 - In Calender for march 2011 dates showing till 5th only.

Thanks jomyjohn

Changeset: c44818fccaeb4f41fdb8b8a00662169a4258b78c

Changed February 16, 2011 06:16PM UTC by Scott González comment:3

Datepicker: Account for daylight saving when calculating number of days in a month. Fixes #6978 - In Calender for march 2011 dates showing till 5th only.

Thanks jomyjohn

(cherry picked from commit c44818fccaeb4f41fdb8b8a00662169a4258b78c)

Changeset: 9162679e1589e6883cee0ec462bce5e20ef47ec7

Changed February 16, 2011 06:16PM UTC by scottgonzalez comment:4

milestone: 1.91.8.10

Changed October 17, 2012 04:00AM UTC by mikesherov comment:5

#5696 is a duplicate of this ticket.

Changed October 17, 2012 06:39AM UTC by mikesherov comment:6

#6231 is a duplicate of this ticket.