Bug 377977 - Google calendar synchronization not working for timezones > UTC
Summary: Google calendar synchronization not working for timezones > UTC
Status: RESOLVED FIXED
Alias: None
Product: libkgapi
Classification: Frameworks and Libraries
Component: calendar (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-23 15:23 UTC by Martin Huter
Modified: 2017-04-27 16:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Fix time zone conversation (to UTC) in Utils::ts2Str (353 bytes, patch)
2017-03-23 15:23 UTC, Martin Huter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Huter 2017-03-23 15:23:08 UTC
Created attachment 104699 [details]
Fix time zone conversation (to UTC) in Utils::ts2Str

The initial synchronization for a google calendar is working, but subsequent "delta" updates are not working due to a wrong "updateTime" parameter in the query URL.
Reason for this seems to be a wrong time zone conversation in Utils::ts2Str (in src/core/utils.cpp).
In timezones ahead of UTC, this causes the updateTime parameter in the query to be ahead of current time, so the calendar does not get updated any more.

Attached a propsed fix.

Version: libkgapi-5.3.1
Comment 1 Daniel Vrátil 2017-04-27 16:48:06 UTC
Hi,

this should be fixed in current release which was in Applications/17.04 (5.5.0)