Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single-day events show up as two days #12

Open
onitake opened this issue Jul 28, 2016 · 5 comments
Open

Single-day events show up as two days #12

onitake opened this issue Jul 28, 2016 · 5 comments
Labels
Milestone

Comments

@onitake
Copy link

onitake commented Jul 28, 2016

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?

@KrissN
Copy link
Owner

KrissN commented Jul 28, 2016

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.

@onitake
Copy link
Author

onitake commented Jul 29, 2016

Awesome, thanks!

@KrissN
Copy link
Owner

KrissN commented Jul 30, 2016

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

@onitake
Copy link
Author

onitake commented Jul 30, 2016

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.

@KrissN
Copy link
Owner

KrissN commented Jul 30, 2016

Okay, thanks for the update.

@KrissN KrissN added the bug label Aug 5, 2016
@KrissN KrissN added this to the Release 0.8.2 milestone Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants