View Single Post
Raimu's Avatar
Posts: 139 | Thanked: 181 times | Joined on Nov 2011 @ Oulu, Finland
#450
Hiya. I found a bug: when selecting an alarm time and the yellow banner appears to tell you the remaining time until the alert, I received a funny message: "Time left until alarm 9:60"

It was supposed to say 10:00.

Based on a conversation on IRC's #maemo-ssu, there is probably an ill-conceived clock check code that asks for time more than once and as a result gets confused during specific situations.

Quoting from the channel: "this happens when coder doesn't obey one of golden rules: always call timing/metering functions only once, in an atomic way, then parse result and store to local vars [...] never call a readout function of a dynamic value multiple times. You always call it once and store the returned value to a local var"
 

The Following 5 Users Say Thank You to Raimu For This Useful Post: