Events depending on a VTIMEZONE ical entry get wrong timezone

Bug #1473068 reported by Daniel Holbach on 2015-07-09
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Medium
Pat McGowan
indicator-datetime (Ubuntu)
Medium
Charles Kerr
qtorganizer5-eds (Ubuntu)
Medium
Renato Araujo Oliveira Filho

Bug Description

On my arale on rc-proposed (r52), events in pulldown indicator off by two hours. 2 hours is also my offset from UTC (Berlin).

Event show up fine in the calendar app and online Google Calendar.

 phablet@ubuntu-phablet:~$ dpkg -l indicator-datetime | tail -n 1
 ii indicator-datetime 13.10.0+15.04.20150618-0ubuntu1 armhf Simple clock
 phablet@ubuntu-phablet:~$

Related branches

Changed in indicator-datetime (Ubuntu):
assignee: nobody → Charles Kerr (charlesk)
Charles Kerr (charlesk) wrote :

This is a dupe of bug #1456281 which was fixed on June 22.

So the remaining task is we need to get the version in rc-proposed bumped to a newer version of indicator-datetime

Charles Kerr (charlesk) wrote :

Actually... even though this sure smells like a dupe, now I'm not sure we can mark it as one.

The tz offset fixes in 15.04 landed earlier, and 13.10.0+15.04.20150618-0ubuntu1 is actually the latest build there. <https://code.launchpad.net/~indicator-applet-developers/indicator-datetime/trunk.15.04>

Charles Kerr (charlesk) wrote :

Daniel, I'm not able to reproduce this yet. Tested with a fresh flash from ubuntu-touch/rc-proposed/ubuntu, creating both alarms and calendar reminders.

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 220
device name: krillin
channel: ubuntu-touch/rc-proposed/ubuntu
last update: 2015-07-09 09:07:49
version version: 220
version ubuntu: 20150708.1
version device: 20150529-8e13c5f
version custom: 20150708.1

phablet@ubuntu-phablet:~$ dpkg -s indicator-datetime
Package: indicator-datetime
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 880
Maintainer: Ubuntu Desktop Team <email address hidden>
Architecture: armhf
Version: 13.10.0+15.04.20150618-0ubuntu1
Replaces: indicator-datetime (<< 13.10.0)
Depends: libc6 (>= 2.8), libecal-1.2-16 (>= 3.7.90), libedataserver-1.2-18 (>= 3.5.91), libgcc1 (>= 1:4.4.0), libglib2.0-0 (>= 2.37.3), libgstreamer1.0-0 (>= 1.0.0), libical1a (>= 1.0), libnotify4 (>= 0.7.6), libstdc++6 (>= 4.6), liburl-dispatcher1 (>= 0.1), dconf-gsettings-backend | gsettings-backend, systemd-services, systemd-shim
Recommends: indicator-applet | indicator-renderer, evolution-data-server, geoclue-ubuntu-geoip | geoclue-provider, unity-control-center (>= 14.04.3) | ubuntu-system-settings, ubuntu-touch-sounds
Suggests: click
Conflicts: indicator-datetime (<< 13.10.0)
Conffiles:
 /etc/xdg/autostart/indicator-datetime.desktop 16400ebc5646e4bc7db0cb14c0bb4159
Description: Simple clock
 A simple clock appearing in the indicator bar
Homepage: https://launchpad.net/indicator-datetime

Daniel Holbach (dholbach) wrote :

It's an imported calendar from Google, and for example my 16:00 (local time) meeting which just finished is shown for 18:00 later on.

Are there any debug steps I could run through?

Daniel Holbach (dholbach) wrote :

Ahhh. It shows the particular meeting at 18:00 UTC even.

Daniel Holbach (dholbach) wrote :

The timezone of the phone is correctly set to Berlin. date agrees with that as well:

phablet@ubuntu-phablet:~$ date; date -u
Do 9. Jul 16:50:24 CEST 2015
Do 9. Jul 14:50:24 UTC 2015
phablet@ubuntu-phablet:~$

Charles Kerr (charlesk) wrote :

Daniel mailed me a copy of his calendar and I'm seeing the same behavior.

The interesting issue is that it's not happening for events created in the clock or calendar apps -- just the ones imported from Google calendar.

I suspect it's an issue with how indicator-datetime is handling the timezone strings there. A sample tzid:

DTSTART;TZID=/freeassociation.sourceforge.net/Tzfile/Europe/Berlin:
 20150722T203000

Changed in canonical-devices-system-image:
assignee: nobody → Pat McGowan (pat-mcgowan)
importance: Undecided → Medium
milestone: none → ww34-2015
status: New → Confirmed
Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Charles Kerr (charlesk) on 2015-07-09
summary: - Events in pulldown indicator off by two hours
+ Events depending on a VTIMEZONE ical entry get wrong timezone
zubozrout (zubozrout) wrote :

Hi,
I am affected by this bug as well but in my case I not only see the time wrong in the indicator, but also in the Calendar app so I suspect the bug may be in the Calendar app itself.

* I created an event from my Android phone
* I synced Ubuntu Calendar app
* the event is now displayed as starting 2 hours later than it actually is on Ubuntu (I am in UTC+2).

Charles Kerr (charlesk) wrote :

Zubozrout, could you attach the affected ics file or mail it to me at charles.kerr at canonical?

You should find the file somewhere underneath the $HOME/.local/share/evolution/ directory; e.g. $HOME/.local/share/evolution/calendar/system/calendar.ics

zubozrout (zubozrout) wrote :

Here it is...
Look at this event: Vyzvednout boty na Krakovské
In calendar and indicator I see the event starts at 11:30 although it should start at 9:30 as it is in the file.

It must be that timezone is somehow not understood by calendar app.

zubozrout (zubozrout) wrote :

AnD here is a screenshot capturing that behavious so it is obvious...

Changed in qtorganizer5-eds (Ubuntu):
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
importance: Undecided → Medium
status: New → Triaged
Pat McGowan (pat-mcgowan) wrote :

Isn't the indicator level fix sufficient?

@pat
The qtorganizer will have the same TZ problem. It will need a similar fix.

Charles Kerr (charlesk) on 2015-07-18
Changed in indicator-datetime (Ubuntu):
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → Fix Released
Nicolas (coinb) wrote :

Same bug with new OTA 6 (mako).

To reproduce:
Create an event in the calendar app for, says, tomorrow at 3PM.

The event is shown at 1PM in indicator-datetime

Nicolas

@nicolas which tz are using in the phone?

Nicolas (coinb) wrote :

Sorry, I forgot to mention. My timezone is Europe/Paris (ie. GMT+2)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers