Bug 150868

Summary: events with DURATION:P1D are interpreted as two-day events
Product: [Applications] korganizer Reporter: Alexander Bergolth <leo>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: christophe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexander Bergolth 2007-10-15 20:37:22 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Fedora RPMs
OS:                Linux

When importing events with a DTSTART data type of DATE and a DURATION of P1D, korganizer interprets and shows the event as a two-day event.

After importing the following calendar, korganizer shows it as starting on 20071014 and ending on 20071015.
-------------------- 8< --------------------
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 3.5//EN
VERSION:2.0

BEGIN:VEVENT
DTSTAMP:20071014T213435Z
CREATED:20071014T213434Z
UID:libkcal-1056176593.176
LAST-MODIFIED:20071014T213434Z
SUMMARY:Testevent
DTSTART;VALUE=DATE:20071014
DURATION:P1D
TRANSP:OPAQUE
END:VEVENT

END:VCALENDAR
-------------------- 8< --------------------

I'm using kdepim-3.5.7-3.fc7 on Fedora 7.

--leo
Comment 1 Alexander Bergolth 2007-10-15 20:41:25 UTC
Setting DURATION:P0D or omitting DURATION results in a one day event, other values are shown as (duration + 1) days in korganizer.
--leo
Comment 2 Christophe Marin 2008-11-17 15:56:42 UTC

*** This bug has been marked as a duplicate of bug 106672 ***