Closed Bug 321562 Opened 19 years ago Closed 19 years ago

Day View fails to display events after selecting 'Go to Today'

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 321563

People

(Reporter: ssitter, Assigned: ssitter)

References

Details

Attachments

(1 obsolete file)

Day View fails to display events after selecting 'Go to Today'

Steps to reproduce:
- Select the current week
- Create one event on every day (Sun to Sat) e.g. at noon --> events are created
- Check the display in the views --> everything seem ok
- Select the current day in month view
- Switch to day view    --> Event is displayed at the right time
- Go to the next day    --> Event is displayed at the right time
- Select 'Go to Today'  --> No event is displayed!
- Go to next day        --> No event is displayed!

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20051226 Mozilla Sunbird/0.3a1+ with clean profile.
Further information:

When switching to DayView I got the following console output:
calendar-decorated-day-view.xml: goToDay: 2005/12/26 00:00:00 /mozilla.org/20050126_1/Africa/Ceuta

After pressing 'Go to Today' I got:
calendar-decorated-day-view.xml: goToDay: 2005/12/26 22:27:24 UTC
calendar-decorated-day-view.xml: goToDay: 2005/12/26 23:27:24 /mozilla.org/20050126_1/Africa/Ceuta

Further testing showed that I see the event in Day View if my current time is before the event time. For example: If the event starts at 12:00 and ends at 13:00 I'll see the event after pressing 'Go to Today' if my local time is before 13:00. If I repeat the same after 13:00 no event is displayed.
Attached patch patch (obsolete) — — Splinter Review
Setting isDate to true fixes the problems for me.
Assignee: mostafah → ssitter
Status: NEW → ASSIGNED
Attachment #207919 - Flags: first-review?(jminta)
Attachment #207919 - Attachment is obsolete: true
Attachment #207919 - Flags: first-review?(jminta)

*** This bug has been marked as a duplicate of 321563 ***
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: