diff --git a/calendar/base/content/calendar-recurrence-dialog.js b/calendar/base/content/calendar-recurrence-dialog.js index e05472644dc..4d6ec8e6320 100644 --- a/calendar/base/content/calendar-recurrence-dialog.js +++ b/calendar/base/content/calendar-recurrence-dialog.js @@ -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 {