← Back to team overview

dx-packages team mailing list archive

[Bug 1512180] Re: [datetime] Standard alarms are not work correctly for Timers, after timezone/DST change

 

Unfortunately we cannot fix that in Timer. When we are set new alarm for 9.00 AM, the alarm will ring at 9.00 AM local time.
Example:
1. Let's say we would like to set Timer for 15 minutes and local time 9.00 AM Timezone +0
2. From Timer, we are setting up alarm for 9.15 AM Timezone +0
3. Now we are changing time zone to -1, so the local time will be 8.00 AM Timezone -1
4. Alarm will be the same, so 9.15 AM Timezone -1

Current result:
  - Alarm/Timer will start ringing for 1 hour and 15 minutes

Expected result:
  - Alarm/Timer should  start ringing always after 15 minutes, and should not be dependent from timezone

For timer we would like to ring in absolute time (UTC), not dependent from time zone.
Maybe there is some way to setup alarm in UTC?
If yes, I would love to implement that in Timer.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1512180

Title:
  [datetime] Standard alarms are not work correctly for Timers, after
  timezone/DST change

Status in Canonical System Image:
  Incomplete
Status in Timer:
  Confirmed
Status in Ubuntu Clock App:
  Incomplete
Status in indicator-datetime package in Ubuntu:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Incomplete

Bug description:
  Standard alarms will not work correctly after changing timezone and
  during DST change.

  Steps to reproduce:
  1. Install Timer from Store: https://uappexplorer.com/app/timer.mivoligo
  2. Set timer to 5 minutes
  3. Open Clock app. Look for alarm, and notice that alarm is correctly set
  3. Switch to System Settings -> Time & Date -> Time zone:
  4.  Change Time zone to something different (eg. New York). (Or wait for DST change: https://en.wikipedia.org/wiki/Daylight_saving_time)

  Expected behaviour:
  - timer ringing as expected after timezone/DST change

  Current behaviour:
  - alarm is not ringing. (you could check active alarms in "Ubuntu Clock app)

  Proposal solution:
  - introduce new type of alarms, which is based on UTC (https://en.wikipedia.org/wiki/Coordinated_Universal_Time) and independent from time zones.
  - This alatms will not be visible in applications which is using standard alarms (Ubuntu Clock, Ubuntu Calendar etc.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1512180/+subscriptions


References