Closed
Bug 332268
Opened 19 years ago
Closed 19 years ago
Editing start date of all day events adds extra day to end date
Categories
(Calendar :: Internal Components, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ssitter, Assigned: jminta)
Details
Attachments
(1 file, 1 obsolete file)
1.30 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
Editing start date of all day events adds extra day to end date
When changing the start date of an all day event in Edit Event dialog an extra day is added to the end date.
Steps to Reproduce:
1. Create all day event on 30-Mar-2006
2. Open 'Edit Event' dialog and change start date to 31-Mar-2006. Press OK.
Actual Results:
Start date is changed to 31-Mar-2006 and end date is changed to 01-Apr-2006. Event now lasts two days instead of one.
Expected Results:
Start date and end date are both changed to 31-Mar-2006. Event lasts one day.
Every time you repeat this procedure an extra day is added.
Seems independed of local timezone (tested in GMT-5, GMT and GMT+2) so my guess is that the patch from bug 327832 does not handle all day events correctly.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060329 Mozilla Sunbird/0.3a1+ and Lightning 0.1+ (20060630)
Reporter | ||
Comment 1•19 years ago
|
||
Same with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060330 Mozilla Sunbird/0.3a1+
Blocking bug 330188?
OS: Windows 2000 → All
Assignee | ||
Comment 2•19 years ago
|
||
yeah yeah, all day end-dates are exclusive.
Assignee | ||
Comment 3•19 years ago
|
||
yeah yeah, all day end-dates are exclusive.
Attachment #216795 -
Flags: first-review?(mvl)
Assignee | ||
Updated•19 years ago
|
Attachment #216794 -
Attachment is obsolete: true
Attachment #216794 -
Flags: first-review? → first-review+
Assignee | ||
Updated•19 years ago
|
Attachment #216794 -
Flags: first-review+
Comment 4•19 years ago
|
||
Comment on attachment 216795 [details] [diff] [review]
subtract a day for allday events
r=mvl
(stricly speaking, gItemDuration for a one-day event should actually be one day, and then you could correct later. But your solution is simple enough, and will likely cause less confusion later.)
Attachment #216795 -
Flags: first-review?(mvl) → first-review+
Assignee | ||
Comment 5•19 years ago
|
||
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 6•18 years ago
|
||
verified with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060914 Calendar/0.3a2+
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•