bug 351737 - Converts rule.endDate to UTC so the later getInTimezone works properly. r1=ctalbert, r2=dmose

This commit is contained in:
mattwillis%gmail.com 2006-09-19 22:56:37 +00:00
parent af8e5d80c5
commit 933ca5702a

View File

@ -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 {