Version: 4.4.5 (using KDE 4.4.5) OS: Linux When I add new one day event in Google calendar or in Android smartphone, the event takes 2 days in KOrganizer - the original day + one more. The same happens when the event is longer (then I see it in KOrganizer as # of days + 1). I use Akonadi Google Resource to work with my Google calendar. Reproducible: Always OS: Linux (x86_64) release 2.6.34.7-0.3-desktop Compiler: gcc
Can you paste the ical event here?
Created attachment 52200 [details] Event how I see it in KOrganizer
I can confirm the bug with KOrganizer 4.4.6 (Kubuntu 10.10).
KOrganizer is displaying correctly what it gets from akonadi_gcal_resource. Adenilson, please have a look.
I can confirm that this also happens when an event spans several days and that the problem belongs to Akonadi. The same event is (correctly) displayed as lasting 3 days when using a traditional iCal resource but it is shown as (incorrectly) spanning four days when accessed though an Akonadi resource.
I can confirm also the reverse behaviour: If I make a 2 day appointment in KOrganizer, it will be a 1 day appointment in Google Calendar. That was true for at least openSuse 11.2 and 11.3, and now also for Kubuntu 10.10
I can also confirm that, KOrganizer add another "extra" day in full day task in gcal.
SVN commit 1216148 by smartins: KCal::Event::dtEnd() is inclusive, not exclusive. This is an important detail for all-day events. BUG: 252568 M +13 -2 gcalresource.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1216148
SVN commit 1216151 by smartins: Fixed some more places that assumed that KCal::Event::dtEnd() was exclusive instead of inclusive. BUG: 252568 CCBUG: savagobr@yahoo.com M +12 -0 gcalresource.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1216151