#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: |
Description
x=new dojox.date.hebrew.Date() // 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 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Milestone: | tbd → 1.4 |
---|
Note: See
TracTickets for help on using
tickets.
docs were updated to reflect that an absolute index is used and 5 is the leap month