mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +00:00
Bug 328761 Wrong alarm offset calculation during startup for alarm with offset > 9 hours. r=mvl
This commit is contained in:
parent
e44f29539c
commit
974a7a67d5
@ -1273,7 +1273,7 @@ calStorageCalendar.prototype = {
|
||||
if (row.alarm_offset != null) {
|
||||
var duration = Components.classes["@mozilla.org/calendar/duration;1"]
|
||||
.createInstance(Components.interfaces.calIDuration);
|
||||
duration.seconds = row.alarm_offset;
|
||||
duration.inSeconds = row.alarm_offset;
|
||||
duration.normalize();
|
||||
|
||||
item.alarmOffset = duration;
|
||||
|
Loading…
x
Reference in New Issue
Block a user