Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#9524 closed defect (fixed)

Hebrew setMonth and leap months

Reported by: Adam Peller Owned by: Adam Peller
Priority: high Milestone: 1.4
Component: Dojox Version: 1.3.0
Keywords: Cc: [email protected]…, [email protected]
Blocked By: Blocking:


x=new // where it's not a leap year

x.setMonth(0) x.getMonth() == 0

works for 1-4 also...

x.setMonth(5) => getMonth==6 It skips the leap month? Is 5 the leap month or 6?

everything is off by a month after that. setMonth(8) => getmonth=9

need unit tests

Change History (2)

comment:1 Changed 13 years ago by Adam Peller

Resolution: fixed
Status: newclosed

docs were updated to reflect that an absolute index is used and 5 is the leap month

comment:2 Changed 13 years ago by bill

Milestone: tbd1.4
Note: See TracTickets for help on using tickets.