Closed Bug 295748 Opened 20 years ago Closed 19 years ago

vCalendar export incorect date for all day events

Categories

(Calendar :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mfilipov, Assigned: mostafah)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

when export events that have "this event last all day" check box checked in
vCalendar (.vcs extension), thouse events are treated as 2 days event when
imported in outlook.

example export
----------------
BEGIN:VEVENT
UID:1C32E30A-FF8E-11D8-BC1A-000D93C2388C-RID
SUMMARY:Memorial Day
CLASS:PUBLIC
X-MOZILLA-RECUR-DEFAULT-INTERVAL:0
DTSTART;VALUE=DATE:20050530
DTEND;VALUE=DATE:20050531
DTSTAMP:20040905T225130Z
END:VEVENT
--------
notice the date generated are actualy two days

Reproducible: Always

Steps to Reproduce:
1. create all day event (by checking "all day event check box)
2. export in vCalendar format
3. examine the file
4. import the file in Outlook for visualization (optional)
QA Contact: gurganbl → general
To my opinion, it is correct that for all-day-events the day immediatly after the last day of the event is stored in the field DTEND;VALUE=DATE. Please also refer to the discussion in bug 207121. 

The rfc2445 says for the DTEND-property: "The value MUST be later in time than the value of the "DTSTART" property." From this, one can derive that a VALUE=DATE entry for DTEND must be at least 1 day later than the DTSTART entry.

Moreover, my Outlook showed an imported one-day-event correctly as one-day-event.
This is the way one-day events are defined in iCalendar spec.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.