Closed
Bug 787537
Opened 12 years ago
Closed 12 years ago
Events that span two or more days are shown incorrect in print output (only shown on first day and with wrong time)
Categories
(Calendar :: Printing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.8
People
(Reporter: ssitter, Assigned: ssitter)
References
Details
(Keywords: regression)
Attachments
(1 file)
5.32 KB,
patch
|
Fallen
:
review+
Fallen
:
approval-calendar-aurora+
Fallen
:
approval-calendar-beta+
|
Details | Diff | Splinter Review |
An event that spans two or more days (e.g. 2012-08-30 20:00 to 2012-09-02 12:00) is shown incorrect in "Monthly Grid" and "Weekly Planner" print output. Actual results: Event is only shown on 2012-08-30 as "20:00-12:00 Title". This is wrong. Expected result: Event should be shown on every day 08-30 to 09-02 and with correct start and end time for this day.
Comment 1•12 years ago
|
||
In our case, the printing (monthly view), a 3 days recurring all day event will print only on the first day as: "All Day-All Day Event name". A fix would be appreciated. Thanks...
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ssitter
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•12 years ago
|
||
Patch ensures that the event/task is printed on all days. I had to add some special treatment to cover all cases like end time < start time (e.g. 2012-08-30 20:00 to 2012-09-02 12:00) or to not include an additional day for all-day events.
Attachment #658971 -
Flags: review?(philipp)
Assignee | ||
Updated•12 years ago
|
Attachment #658971 -
Flags: approval-calendar-beta?
Attachment #658971 -
Flags: approval-calendar-aurora?
Comment 3•12 years ago
|
||
Comment on attachment 658971 [details] [diff] [review] regression fix (print on all days) r=philipp, thanks for the patch! Very minor nit, could you change: + if ( !itemStartDate && !itemEndDate ) { to: + if (!itemStartDate && !itemEndDate) {
Attachment #658971 -
Flags: review?(philipp)
Attachment #658971 -
Flags: review+
Attachment #658971 -
Flags: approval-calendar-beta?
Attachment #658971 -
Flags: approval-calendar-beta+
Attachment #658971 -
Flags: approval-calendar-aurora?
Attachment #658971 -
Flags: approval-calendar-aurora+
Assignee | ||
Comment 4•12 years ago
|
||
Pushed to https://hg.mozilla.org/comm-central/rev/f181aef1ee3f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0
Assignee | ||
Comment 5•12 years ago
|
||
Pushed to https://hg.mozilla.org/releases/comm-aurora/rev/042549694f27
Target Milestone: 2.0 → 1.9
Assignee | ||
Comment 6•12 years ago
|
||
Pushed to https://hg.mozilla.org/releases/comm-beta/rev/c0e72119e5f7
Target Milestone: 1.9 → 1.8
You need to log in
before you can comment on or make changes to this bug.
Description
•