[Korganizer-devel] [Bug 189711] libkcal stores illegal negative DTSTART in ics / ical files
Stephan Diestelhorst
stephan.diestelhorst at gmail.com
Wed Apr 15 14:36:11 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=189711
Stephan Diestelhorst <stephan.diestelhorst at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stephan.diestelhorst at gmail.
| |com
--- Comment #3 from Stephan Diestelhorst <stephan diestelhorst gmail com> 2009-04-15 14:36:07 ---
Yes, it is easy to reproduce (maybe non-precise translation, I'll do my best):
I've used Kontact, Calendar View, Create new To-Do item (Ctrl + Shift +T)
and created a new Todo-item with the following properties:
(Any title)
Due date tomorrow
Recurrence tab
Check entry repeats
Once every week on Thursday
Close Kontact and check std.ics. Result:
BEGIN:VTODO
DTSTAMP:20090415T122651Z
ORGANIZER;CN="Stephan Diestelhorst":MAILTO:stephan.diestelhorst at amd.com
CREATED:20090415T122650Z
UID:libkcal-47342057.563
LAST-MODIFIED:20090415T122650Z
SUMMARY:Check Korganizer
PRIORITY:5
RRULE:FREQ=WEEKLY;BYDAY=TH
DUE;VALUE=DATE:20090416
DTSTART;VALUE=DATE:-47130101
PERCENT-COMPLETE:0
RECURRENCE-ID:20090416T000000
BEGIN:VALARM
DESCRIPTION:
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT15M
END:VALARM
END:VTODO
After applying my patch this results in
BEGIN:VTODO
DTSTAMP:20090415T123438Z
ORGANIZER;CN="Stephan Diestelhorst":MAILTO:stephan.diestelhorst at amd.com
CREATED:20090415T122650Z
UID:libkcal-47342057.563
LAST-MODIFIED:20090415T122650Z
SUMMARY:Check Korganizer
PRIORITY:5
RRULE:FREQ=WEEKLY;BYDAY=TH
DUE;VALUE=DATE:20090416
PERCENT-COMPLETE:0
RECURRENCE-ID:20090416T000000
BEGIN:VALARM
DESCRIPTION:
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT15M
END:VALARM
END:VTODO
I.e. without the useless DTSTART entry.
HTH
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Korganizer-devel
mailing list