KrissN / akonadi-ews

Akonadi resource agent for Microsoft Exchange using Exchange Web Services (EWS) protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single-day events show up as two days

onitake opened this issue · comments

When creating a new all-day event in Outlook for a single day, it shows up as occupying two days in KOrganizer.

This seems like a bug in akonadi-ews, perhaps because of a misinterpretation of the 00:00-00:00 timespan?

In the current implementation akonadi-ews doesn't do much interpretation of the event retrieved from Exchange. The server provides the event in form of a iCalendar entry, which is sent to Akonadi for parsing. I don't remember right now, but I think the iCalendar format has a separate entry for "all-day event".

As mentioned in the 0.8.0 release announcement there is a plan to add write support for the calendar. This will likely end-up in a rewrite of the current implementation and move from retrieving the iCalendar entry to retrieving raw data and recreating the event from scratch. I will make sure to test all-day events to make sure that they work properly.

Awesome, thanks!

Could this also happen because of this bug: https://bugs.kde.org/show_bug.cgi?id=362921 ?

I don't think it does, as I can happily create a single-day event on a local calendar and it will show up on that day only. Creating a spanning event (i.e. from 20:00 on day X to 8:00 on day X+1) works fine too.

This only happens when a single-day event is loaded from Exchange. Evolution and Outlook display the event just fine.

Okay, thanks for the update.