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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1372254

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to