mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
bug 351737 - Converts rule.endDate to UTC so the later getInTimezone works properly. r1=ctalbert, r2=dmose
This commit is contained in:
parent
af8e5d80c5
commit
933ca5702a
@ -189,7 +189,7 @@ function loadDialog()
|
||||
setElementValue("repeat-ntimes-count", rule.count );
|
||||
}
|
||||
} else {
|
||||
var endDate = rule.endDate;
|
||||
var endDate = rule.endDate.getInTimezone("UTC");
|
||||
if (!endDate) {
|
||||
setElementValue("recurrence-duration", "forever");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user