← Back to team overview

touch-packages team mailing list archive

[Bug 1372254] Re: New Event in Calendar app not scheduled for the correct time zone.

 

To test this, I created a calendar event for tomorrow (Fri Oct 24) going from 4:55 PM (16:55) to 5:55 PM (17:55).
My timezone: America/New York (UTC-4).

Given this setup and set of inputs, calendar-app creats this entry in
~/.local/share/evolution/calendar/system/calendar.ics:

    BEGIN:VCALENDAR
    CALSCALE:GREGORIAN
    PRODID:-//Ximian//NONSGML Evolution Calendar//EN
    VERSION:2.0
    X-EVOLUTION-DATA-REVISION:2014-10-23T20:54:03.819474Z(0)
    BEGIN:VEVENT
    UID:20141023T205403Z-16928-32011-1353-1@ubuntu-phablet
    DTSTAMP:20141023T205403Z
    DTSTART:20141024T205500
    DTEND:20141024T215500
    X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:Can't parse as RECUR value
     in RRULE property. Removing entire property: ERROR: No Value
    SUMMARY:Some event
    DESCRIPTION:Description
    CREATED:20141023T205403Z
    LAST-MODIFIED:20141023T205403Z
    BEGIN:VALARM
    X-EVOLUTION-ALARM-UID:20141023T205403Z-16928-32011-1353-2@ubuntu-phablet
    ACTION:AUDIO
    TRIGGER;VALUE=DURATION;RELATED=START:-P1D
    REPEAT:3
    DURATION:PT2M
    END:VALARM
    BEGIN:VALARM
    X-EVOLUTION-ALARM-UID:20141023T205403Z-16928-32011-1353-3@ubuntu-phablet
    ACTION:DISPLAY
    DESCRIPTION:Some event
    TRIGGER;VALUE=DURATION;RELATED=START:-P1D
    REPEAT:3
    DURATION:PT2M
    END:VALARM
    END:VEVENT
    END:VCALENDAR

DTSTART is set to "20141024T205500", which is a 'floating' value not
bound to any particular timezone -- that is, it should fire 20:55:00 no
matter which time zone the user is in.

indicator-datetime shows this as:

    "Tomorrow 8:55 PM"

which is the correct rendering (on 2014-10-23) for an event which starts
at 20141024T205500.

In summary:

- Since clock-app's "New Event" form doesn't contain a timezone chooser, clock-app is correct to store DTSTART, DTEND as floating dates.
- calendar-app appears to have a bug that converts the date's value to UTC before saving it as a local time.
- since calendar-app still shows the date & time as matching the user's input even after calendar-app restarts, it must also have the same bug in reverse when loading events from EDS.
- 

** Changed in: indicator-datetime (Ubuntu)
       Status: New => Invalid

** Changed in: ubuntu-calendar-app
       Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to indicator-datetime in
Ubuntu.
https://bugs.launchpad.net/bugs/1372254

Title:
  New Event in Calendar app not scheduled for the correct time zone.

Status in Calendar application for Ubuntu devices:
  Confirmed
Status in “indicator-datetime” package in Ubuntu:
  Invalid

Bug description:
  Phone - LGE Nexus 4
  OS Version - Ubuntu 14.10 (r48)
  Time zone - America/Los Angeles - UTC-7
  Steps to reproduce: 
  Calendar view is for the month.
  1 - select 'New Event' in the calendar app
  2 - enter event information, set the date as the current date (21-Sep-2014)
  3 - enter a start time = 21:30
  4 - enter an end time = 22:30
  5 - use 'Personal' calendar
  6 - save the event
  An event is created for 'Tomorrow at 4:30 am', not 21:30 for the current date

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1372254/+subscriptions