Closed Bug 354946 Opened 18 years ago Closed 18 years ago

All Day event is shown one day too early

Categories

(Calendar :: Import and Export, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: stebs, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060929 BonEcho/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060929 BonEcho/2.0

Importing an All Day event that happens on the 1.10.2006 from Outlook 2002 to Lighning (build 2006092906) and Sunbird (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060827 Calendar/0.3a2+) shows up as All Day event that happens on the 30.9.2006 (one Day too early). 

Reproducible: Always

Steps to Reproduce:
1. Enter one All Day Event in Outlook 2002 named Foobar that starts at 1.10.2006 and also ends 1.10.2006
2. Do the conversion to .ics with the Program iCalConvert http://www.mhsoftware.com/bin/iCalConvert.msi
(only possible way since .csv import is still dead!)
3. Contents of this .ics:
BEGIN:VEVENT
UID:mf:000000000CEDF64946C9D411BC380050042E613022810000-ai:000000000CEDF649
 46C9D411BC380050042E6130E4E52400
SUMMARY:Foobar
DTSTART:20060930
DTEND:20061001
ORGANIZER;CN="xxx":MAILTO:xxx@xxx
PRIORITY:2
STATUS:CONFIRMED
CLASS:PUBLIC
TRANSP:TRANSPARENT
LAST-MODIFIED:20060930T131219Z
DTSTAMP:20060930T132053Z
END:VEVENT
4. Import this .ics File in Lightning or Sunbird.
Actual Results:  
Foobar will show up as an All Day event from 30.9.2006 to 30.9.2006 (one Day too early)

Expected Results:  
Foobar should show up as All Day event at 1.10.06

In Lightning, the Agenda shows Foobar correctly for Tomorrow (Today being 30.9.2006) If you click on Foobar however, it reads from 30.09.2006 to 30.09.2006...
(In reply to comment #0)
> Importing an All Day event that happens on the 1.10.2006 from Outlook 2002 to
...
> DTSTART:20060930

Looks like a problem in the converstion from outlook to ics. The ics file says the event starts on the 30th, so there is nothing sunbird can do about it.
Shouldn't it then at least show up as 2 Days?
DTSTART:20060930
DTEND:20061001
-> 30.9 AND 1.10?
And why is it shown in Agenda as tomorrow then? (Today being the 30th)
->inconsistent
No, dtend is exclusive, so is not part of the range. So the event should show on only one day.
I don't know what is going on in the agenda.
Ok, I'm in contact with the author of the conversion Program (the only working solution to import from Outlook 2002 afaik), will investigate further.
Should I close this Bug despite the Agenda-flaw?
(In reply to comment #2)
> And why is it shown in Agenda as tomorrow then? (Today being the 30th)

Already filed as Bug 353307.
Ok, thanks to all. 
-> Closed as INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.