Fix obvious porting error, allDay was ignored.
ClosedPublic

Authored by dfaure on Nov 25 2017, 12:45 PM.

Details

Summary

Commit df84459e7 contained:

  • todo->setAllDay(kdt.isDateOnly());

+ todo->setAllDay(false);

Added a unittest for todos with date-only start/end/due dates,
just like zanshin does. This test file would have caught this porting
bug.

Tested with libical-1.0.1 only.

Test Plan

Unittest + zanshin

Diff Detail

Repository
R172 KCalendar Core
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure created this revision.Nov 25 2017, 12:45 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptNov 25 2017, 12:45 PM
dfaure requested review of this revision.Nov 25 2017, 12:45 PM
dvratil accepted this revision.Nov 26 2017, 8:08 AM

Thanks!

This revision is now accepted and ready to land.Nov 26 2017, 8:08 AM
This revision was automatically updated to reflect the committed changes.