Closed Bug 172395 Opened 24 years ago Closed 24 years ago

Calendar should support duration

Categories

(Calendar :: Internal Components, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mikeypotter, Assigned: mostafah)

References

()

Details

My Apple iCal file gives a duration for my events, instead of a start and end time. We should be able to read this information in properly. Right now, the Mozilla calendar shows start and end time as being the same. Sample file: http://homepage.mac.com/mikeypotter/.calendars/Curling.ics
->Mostafa.
Assignee: mikep → mostafah
Status: NEW → ASSIGNED
The parser now supports DURATION properties which should fix this bug. However once support of duration is going to be implemented in the frontend please feel free to reopen this bug to add the proper interface to the backend. Fixed in cvs.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
As posted to netscape.public.mozilla.calendar: "Currently, when editing an event or task, the end time changes when you change the start time, to maintain the duration; I think this is unintuitive. I use Sunbird to keep track of college assignments; the time these tasks finish is more definite than the time I'll be starting them. I usually specify the end time first; if I then decide to start earlier or later, I have to put the end time back to what it was, as Sunbird has automatically changed that, too. I think the best solution is that there be the option of specifying either the duration of an event, or the end time. If one chooses duration, the end time-picker should be replaced with a method for choosing the duration of the event. The duration then shouldn't change when you change the start time. If one chooses to specify end times, the end time shouldn't change as you change the start time." This is for Sunbird 0.1.1+ 2004-02-05 on Windows XP. I recommend reopening, setting component to Front End, and OS to all.
Does comment #2 mean that duration is not yet accessible from xul/javascript?
(In reply to comment #4) > Does comment #2 mean that duration is not yet accessible from xul/javascript? > Correct.
Re comment #3: Due date is separate from end date: http://www.geocities.com/gekacheka/rfc/rfc2445.html#s4.8.2.2 http://www.geocities.com/gekacheka/rfc/rfc2445.html#s4.8.2.3 A task has a due date rather than an end date. The event dialog currently moves the end to track the start, preserving duration. The task currently moves the due date to track the start, just like the event dialog. Maybe for tasks it would make more sense to move the start to track the due date. Tasks do not appear in the calendar view. Should they?
Tasks only appear in the calendar view in Multiweek View, when View > Tasks in View is enabled. At the very least, Sunbird's UI needs improving to make the selection of start/end times or durations clearer.
Mass move of libxpical bugs to the Internal Components, per ctalbert.
Component: libxpical → Internal Components
The bugspam monkeys have been set free and are feeding on Calendar :: Internal Components. Be afraid for your sanity!
QA Contact: colint → base
You need to log in before you can comment on or make changes to this bug.