Bug 313378 - Etc/GMT timezone format not supported
Summary: Etc/GMT timezone format not supported
Status: RESOLVED FIXED
Alias: None
Product: libkgapi
Classification: Frameworks and Libraries
Component: calendar (show other bugs)
Version: GIT
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-16 20:13 UTC by Thiago Jung Bauermann
Modified: 2013-08-20 11:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Jung Bauermann 2013-01-16 20:13:23 UTC
The google calendar resource I set up is missing two events which do appear on the google calendar website. Both are recurring. Inspecting them with akonadi console (in the browser tab, using the calendar model), they have three things in common:

- the "DateTime start" column for them is blank,
- the "DateTime end" column shows the date that on the google calendar website is shown as the repetiton *start* date,
- the raw payload is much smaller than for all other events.

This is an example of the raw payload for one of these events:

 BEGIN:VCALENDAR

PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN

VERSION:2.0

BEGIN:VEVENT

DTSTAMP:20130109T152359Z

CREATED:20130109T152359Z

UID:_8t33it3m8h2lcd2669s6ad9oalmj6chgasp0

LAST-MODIFIED:20130109T152359Z

SUMMARY:Limpeza do casco

STATUS:CONFIRMED

RRULE:FREQ=MONTHLY;UNTIL=21001230T110000Z;BYMONTHDAY=8

DTEND:20120708T080000

TRANSP:OPAQUE

END:VEVENT


END:VCALENDAR


This is with Kubuntu 12.04, KDE 4.9.5 and akonadi_googlecalendar_resource from the kdepim-runtime package version 4:4.9.5-0ubuntu0.1~ubuntu12.04.1~ppa2.

Reproducible: Didn't try
Comment 1 Daniel Vrátil 2013-01-16 20:28:59 UTC
Could you please provide the original iCal of the event downloaded from Google Calendar web UI?
Comment 2 Thiago Jung Bauermann 2013-01-16 21:07:37 UTC
Here it is:

BEGIN:VEVENT
DTSTART;TZID=Etc/GMT+3:20120708T080000
DTEND;TZID=Etc/GMT+3:20120708T080000
RRULE:FREQ=MONTHLY;UNTIL=21001230T110000Z;BYMONTHDAY=8
DTSTAMP:20130116T205919Z
UID:GF9tvDEV4F2xe58Um320W2
CLASS:PRIVATE
CREATED:20130109T152359Z
DESCRIPTION:
LAST-MODIFIED:20130109T152359Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Limpeza do casco
TRANSP:OPAQUE
END:VEVENT
Comment 3 Thiago Jung Bauermann 2013-01-16 21:12:20 UTC
Here's another event with the same problem.

Akonadi raw payload:

BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20130114T143027Z
CREATED:20130114T143027Z
UID:_dt4jaihn6d13id26694modpoalmj6chgasp0
LAST-MODIFIED:20130114T143027Z
SUMMARY:Reunião pp
STATUS:CONFIRMED
RRULE:FREQ=WEEKLY;UNTIL=21001230T173000Z;INTERVAL=2;BYDAY=MO
DTEND:20121022T160000
TRANSP:OPAQUE
END:VEVENT

END:VCALENDAR

Google .ics:

BEGIN:VEVENT
DTSTART;TZID=Etc/GMT+3:20121022T143000
DTEND;TZID=Etc/GMT+3:20121022T150000
RRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=21001230T173000Z;BYDAY=MO
DTSTAMP:20130116T205919Z
UID:oI5J73B94F2Il78Um320W2
CLASS:PRIVATE
CREATED:20130109T152424Z
DESCRIPTION:
LAST-MODIFIED:20130114T143027Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Reunião pp
TRANSP:OPAQUE
END:VEVEN

One thing that is worth noting is that neither of those events were created in the Google web UI, and not in KOrganizer either. I created them (and a lot of others in the same calendar but which work fine) in my Symbian cell phone and synchronized them using the Mail for Exchange app.
Comment 4 Daniel Vrátil 2013-06-24 22:02:50 UTC
Can you please test with LibKGAPI 2.0.1? 

The import works correctly for me now. Google API exports the event as

    "dateTime": "2012-10-22T17:30:00Z",
    "timeZone": "Etc/GMT+3"

and in Akonadi Console it's imported as

      DTSTART:20121022T173000Z
Comment 5 Christoph Feck 2013-07-03 22:32:46 UTC
If you can provide the information requested in comment #4, please add it.
Comment 6 Thiago Jung Bauermann 2013-08-20 00:43:09 UTC
Hello,

Sorry for the big delay. I am now using KDE 4.11 with KDE PIM 4.11 and libkgapi 2.0.1. The events I pasted above didn't show up after the upgrade, but after I removed and then re-added the Google Calendar and Tasks resource they did.

This bug is solved, thanks!
Comment 7 Daniel Vrátil 2013-08-20 11:24:19 UTC
Great, thanks for feedback.