[Kde-pim] Review Request: Store exceptions to recurring events as DATE-TIME values

Sergio Luis Martins iamsergio at gmail.com
Wed Aug 8 14:13:49 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105889/#review17102
-----------------------------------------------------------


If you create a recurring non-allday event, add an exception, then drag the event with the mouse, to another time, the blocked occurrence will re-appear.
Also, if you change it to allday, it will have DATE-TIME instead of DATE.
So we need a second patch, to KCalCore, inside IncidenceBase::setDtStart() and setAllDay() to adjust all EXDATES.

- Sergio Luis Martins


On Aug. 6, 2012, 8:05 p.m., Philipp Schmidt wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105889/
> -----------------------------------------------------------
> 
> (Updated Aug. 6, 2012, 8:05 p.m.)
> 
> 
> Review request for KDEPIM.
> 
> 
> Description
> -------
> 
> As Bug 169336 describes, normal DATE values should only (optionally) be used to store exceptions to all-day events. This patch makes KOrganizer use DATE-TIME values, thus making it compatible to most other clients that only check for DATE-TIMEs. Existing VALUE=DATE exceptions are not touched, only newly created exceptions will be saved in this format.
> 
> Also fixes the bug that DATE-TIME formatted values were not shown in the exception list. It now shows DATE as well as DATE-TIME values.
> 
> 
> This addresses bugs 169336 and 304652.
>     http://bugs.kde.org/show_bug.cgi?id=169336
>     http://bugs.kde.org/show_bug.cgi?id=304652
> 
> 
> Diffs
> -----
> 
>   incidenceeditor-ng/incidencerecurrence.h 73425bb 
>   incidenceeditor-ng/incidencerecurrence.cpp 7e89f5b 
>   korganizer/calendarview.cpp 75c3307 
> 
> Diff: http://git.reviewboard.kde.org/r/105889/diff/
> 
> 
> Testing
> -------
> 
> Tested with local iCal calendar and remote ownCloud CalDAV instance adding exceptions in the instanceditor. Exceptions are neither shown on Android nor in the Calendar view. All Exceptions are shown in the exception list (also legacy DATE ones).
> 
> Adding Exceptions using the context menu in the calendar view also uses DATE-TIME now.
> 
> 
> Thanks,
> 
> Philipp Schmidt
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list