Closed
Bug 361560
Opened 19 years ago
Closed 19 years ago
Weekly layout: Sunday of previous week displayed in current week
Categories
(Calendar :: Printing, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ssitter, Assigned: jminta)
Details
Attachments
(1 file)
|
2.18 KB,
patch
|
mattwillis
:
first-review+
mvl
:
second-review+
|
Details | Diff | Splinter Review |
Weekly layout: Sunday of previous week displayed in current week
Steps to Reproduce:
1. Start Sunbird with clean profile
2. Set First day of the week to Monday
3. Select 'File -> Print...' and choose the 'Weekly Planner layout
4. Check preview
Actual Results:
Output shows Monday 20-Nov-2006 to Saturday 25-Nov-2006 followed by Sunday 19-Nov-2006. The next week shows Monday 27-Nov-2006 to Saturday 02-Dec-2006 followed by Sunday 26-Nov-2006.
Expected Results:
Output shows Monday 20-Nov-2006 to Sunday 26-Nov-2006 in chronological order.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061122 Calendar/0.4a1 - Build ID: 2006112207
| Assignee | ||
Comment 1•19 years ago
|
||
This patch makes us pay attention to the default starting day of the week. We have to be a bit careful, because the format is hardcoded to start with monday, but using .weekday rather than i should be sufficient to do that.
Comment 2•19 years ago
|
||
Comment on attachment 246546 [details] [diff] [review]
pay attention to prefs
r=lilmatt
Attachment #246546 -
Flags: first-review?(lilmatt) → first-review+
| Assignee | ||
Updated•19 years ago
|
Attachment #246546 -
Flags: second-review?(mvl)
Comment 3•19 years ago
|
||
Comment on attachment 246546 [details] [diff] [review]
pay attention to prefs
r2=mvl
Attachment #246546 -
Flags: second-review?(mvl) → second-review+
| Assignee | ||
Comment 4•19 years ago
|
||
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 5•19 years ago
|
||
verified with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061207 Calendar/0.4a1
Status: RESOLVED → VERIFIED
Whiteboard: [litmus testcase wanted]
| Reporter | ||
Comment 6•19 years ago
|
||
This only works for the first week being shown. For the second and following weeks this fails worse than before, see Bug 361565 Comment #3 for full test results.
You need to log in
before you can comment on or make changes to this bug.
Description
•