Closed Bug 189330 Opened 23 years ago Closed 23 years ago

All-day events scheduled in April 2003 appear off by one day in calendar.

Categories

(Calendar :: Sunbird Only, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kk, Assigned: mikeypotter)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 Summary says it all. See steps to reproduce. Reproducible: Always Steps to Reproduce: 1. Right click on Monday, April *21*, 2003. 2. Select "New Event." 3. Enter "Holiday" as title. 4. Check box next to "This event lasts all day." 5. Select OK. 6. Notice that event appears in the calendar on April *20*, 2003. 7. Double click on the event shown on April *20*, 2003. 8. Notice the start and end date of the event are shown as April *21*, 2003. Actual Results: All-day events in April 2003 aren't displayed on the correct days on the April 2003 month view. Specifically, they are displayed one day prior to their scheduled day. Expected Results: Correctly display all-day events in April 2003.
The backend seems to think this event starts on the 20th of April. Is April 21st a switch for day light savings time?
Assignee: mikep → mostafah
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
The backend seems to be fine. I traced the code down from the backend up to line 383 of file calendarWindow.js. At that location when I put alert( eventDate.getDate() ); I get 21, which is the correct value. Something goes wrong from this point onwards.
Assignee: mostafah → mikep
This is a front end bug. monthView.js around line 256 is where the problem comes up. It tries to figure out what box to put the events in, and has a problem with the calculation because of the switch to daylight savings time.
I don't observe this. Does that bug should remain open ?
This has been fixed and shows up properly in the latest builds.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.