Closed Bug 308993 Opened 21 years ago Closed 21 years ago

Week view broken if week starts on day other than sunday

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Sunbird 0.3

People

(Reporter: gekacheka, Assigned: mostafah)

References

Details

(Keywords: regression)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20050917 Mozilla Sunbird/0.2+ Events fail to display in week view if week starts on a day other than sunday. Reproducible: Always Steps to Reproduce: 1. Test case: event that occurs every day of the week for a fortnight (2 weeks) Actual Results: Event does not display in week view. JavaScript console shows: Error: document.getElementById("week-tree-day-" + index + "-item-" + startHour) has no properties Source File: chrome://calendar/content/weekView.js Line: 436 Expected Results: Event displays on every day of the week in week view.
Keywords: regression
Target Milestone: --- → Sunbird 0.3
(patch -l -p 2 -i file.patch) With this patch, event shows on each day of week no matter what day of the week is the first day of the week (selected via Tools | Options/Preferences | Views | First Day of the Week), and javascript console does not show the weekview.js error.
Attachment #196476 - Flags: first-review?(mvl)
*** Bug 309864 has been marked as a duplicate of this bug. ***
Attachment #196476 - Flags: first-review?(mvl) → first-review+
checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: