← Back to team overview

ubuntu-phone team mailing list archive

Re: Time zone problem while syncing calendar app with ownCloud

 

Hi Stefan, I had a similar problem previously, and found for me it was linked to syncing the ~/.local/share/evolution folder between devices via my owncloud server. Drove me nuts until I figured this out...

Are you syncing any files/folders with owncloud, or just your calendar?

Mitchell

On Friday, 8 May 2015 7:36:48 PM AEST, Stefan Kamps wrote:
Hi,

I sent this problem description already on 17.04.2015, but then I didn't receive any response.

Since it seems that meanwhile more users sync their Ubuntu phone with ownCloud, I send my questions again:

I'm using Ubuntu Touch on a Nexus 7 3G (r18) and set up the synchronization mechanism between the calendar app and my owncloud installation according to the very helpful instructions given at

http://mitchellreese.id.au/owncloud-sync-on-ubuntu-touch/ and
http://askubuntu.com/questions/606020/how-to-sync-contacts-and-the-calendar-on-ubuntu-touch-with-owncloud

The synchronization works fine, but the start and end times of calendar entries are shifted by the UTC time zone offset when syncing from the calendar app to my owncloud installation. In my case the times are set back by two hours, because I'm on UTC+2.

The problem seems to lie at the Ubuntu touch side, as can be seen from the synchronisation log file below. This log file is based on a new calendar entry called "Test8" and a start time 15.30 and an end time 16.30. After syncing from the phone to ownCloud, the calendar entry appears in owncloud with a start time 13.30 and an end time 14.30.

Maybe this problem is linked to the following bug:

https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1372254

Any idea how to solve this problem? Or should I file a bug?


Best regards

Stefan Kamps

LOGFILE:
========

@default data changes to be applied during synchronization:
*** @default/calendar ***
                        after last sync | current data
                removed since last sync <
                                        > added since last sync
-------------------------------------------------------------------------------
                                        > BEGIN:VCALENDAR
                                        > VERSION:2.0
                                        > BEGIN:VEVENT
                                        > SUMMARY:Test8
                                        > DTEND:20150413T143000Z
                                        > DTSTART:20150413T133000Z
> UID:20150417T130608Z-7000-32011-173
                                        > 0-5@ubuntu-phablet
> X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-P > ARSE-ERROR:Can't parse as RECUR val > ue in RRULE property. Removing enti
                                        >    re property: ERROR: No Value
                                        > BEGIN:VALARM
                                        > ACTION:AUDIO
                                        > X-EVOLUTION-ALARM-UID:20150417T13
                                        > 0608Z-7000-32011-1730-6@ubuntu-ph
                                        > ablet
                                        > END:VALARM
                                        > BEGIN:VALARM
                                        > ACTION:DISPLAY
                                        > X-EVOLUTION-ALARM-UID:20150417T13
                                        > 0608Z-7000-32011-1730-7@ubuntu-ph
                                        > ablet
                                        > END:VALARM
                                        > END:VEVENT
                                        > END:VCALENDAR
-------------------------------------------------------------------------------




--
Sent using Dekko from my Ubuntu device


References