Strange behaviour of alarms after changing timezone

Bug #1495883 reported by Bartosz Kosiorek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Unassigned
Ubuntu Clock App
Fix Released
Medium
Bartosz Kosiorek

Bug Description

With current implementation of alarms, alarms is saved as whole Date and Time (eg. 2015.09.015 16:00).
It is causing that after changing timezone, the alarm is still enabled, but it is already passed.

Steps to reproduce:
1. Let's say that we have date 2015.09.15 23:00
2. Create new alarm and set it to: 2015.09.15 23:30
3. Change timezone +2, we have date 2015.09.16 01:00

Currently:
- Alarm is still active but it will not ring as it is in the past

Expected:
- Alarm should still ring at 23.30, no matter in which timezone

Implementation proposal:
To resolve that issue we should save hour and minute of alarm, and information if alarm is enabled.
We shouldn't save exact date of alarm.

Related branches

Changed in ubuntu-clock-app:
milestone: none → 3.6
Revision history for this message
Victor Thompson (vthompson) wrote :

Is this a duplicate of lp:1472525? Or is that a different error?

Changed in ubuntu-clock-app:
importance: Critical → Medium
Changed in ubuntu-clock-app:
milestone: 3.6 → 3.7
Changed in ubuntu-clock-app:
milestone: 3.7 → 3.6
assignee: nobody → Bartosz Kosiorek (gang65)
status: Triaged → In Progress
Changed in canonical-devices-system-image:
importance: Undecided → Medium
milestone: none → ww46-2015
status: New → Confirmed
Changed in ubuntu-clock-app:
status: In Progress → Fix Committed
Changed in ubuntu-clock-app:
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.