← Back to team overview

dx-packages team mailing list archive

[Bug 1308193] Re: Upcoming recurring alarms on wrong day

 

I think I may have found the bug. On reading the SDK Alarms API
documentation, it specifies that if the daysOfTheWeek are specified,
then it will strive to trigger the alarms on that day. Let me illustrate
an example here to explain.

Assume that the current date and time is Monday 15th April 10:00 AM, if
the user tries to set an alarm to trigger everyday Mon-Fri at 08:30 AM,
the alarm cannot trigger on 15th April Monday since that time has
already passed. So the alarms API then tries the next possible date
which is 21st April Monday at 08:30 AM which is a valid time instead of
triggering the alarm on Tuesday 16th April.

So this is a bug in the ubuntu clock app due to the way it creates new
alarms.

** Changed in: ubuntu-clock-app (Ubuntu)
       Status: New => Confirmed

** Also affects: ubuntu-clock-app
   Importance: Undecided
       Status: New

** Changed in: ubuntu-clock-app
       Status: New => Confirmed

** Changed in: ubuntu-clock-app
   Importance: Undecided => High

** Changed in: ubuntu-clock-app
     Assignee: (unassigned) => Nekhelesh Ramananthan (nik90)

** Changed in: ubuntu-clock-app
    Milestone: None => backlog

** Tags added: alarm

-- 
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/1308193

Title:
  Upcoming recurring alarms on wrong day

Status in Clock application for Ubuntu devices:
  Confirmed
Status in “indicator-datetime” package in Ubuntu:
  New
Status in “ubuntu-clock-app” package in Ubuntu:
  Confirmed

Bug description:
  Open clock
  Set alarm, make it occur every working day - and today is Tuesday.
  Save alarm.
  Pull down indicator, observe that "next" alarm is shown as "Mon" not "Wed" which is tomorrow. 

  Expectation would be that the indicator shows the next alarm, not the
  one 4 alarms away.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: indicator-datetime 13.10.0+14.04.20140408-0ubuntu1
  Uname: Linux 3.4.0-5-mako armv7l
  ApportVersion: 2.14.1-0ubuntu2
  Architecture: armhf
  Date: Tue Apr 15 18:35:01 2014
  InstallationDate: Installed on 2014-04-15 (0 days ago)
  InstallationMedia: Ubuntu 14.04 LTS - armhf (20140415.1)
  SourcePackage: indicator-datetime
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References