change behavior when updateEvent called when new dates cant be computed in tz

This commit is contained in:
Adam Shaw
2014-05-24 02:05:17 -07:00
parent c01c43e5d3
commit f577a3f548
+4 -4
View File
@@ -617,11 +617,11 @@ function EventManager(options) { // assumed to be a calendar
// if the dates have changed, and we know it is impossible to recompute the
// timezone offsets, strip the zone.
if (isAmbigTimezone) {
if (+dateDelta) {
if (+dateDelta || +durationDelta) {
newStart.stripZone();
}
if (newEnd && (+dateDelta || +durationDelta)) {
newEnd.stripZone();
if (newEnd) {
newEnd.stripZone();
}
}
}