Ticket #5716 (closed defect: fixed)
Calendar: May 28th doesn't work in CET
| Reported by: | peller | Owned by: | peller |
|---|---|---|---|
| Priority: | high | Milestone: | 1.1 |
| Component: | Date | Version: | 1.0 |
| Severity: | major | Keywords: | |
| Cc: |
Description
The root cause is in dojo.date.locale.parse. genro narrowed it down to this in Mac/FF2 -- don't know if it's specific to the platform, he says it happens in Opera, too, but not on Safari. Set your time zone to "Rome" (CET, GMT+1)
var d = new Date(1972,0,28); d.setMonth(4); d
Sat May 27 1972 23:00:00 GMT+0100 (CET)
The code expects getDate() to be 28, and it usually is...
Change History
Note: See
TracTickets for help on using
tickets.