From f577a3f548947317a0c06bb1bde234d3b6b8362b Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Sat, 24 May 2014 02:05:17 -0700 Subject: [PATCH] change behavior when updateEvent called when new dates cant be computed in tz --- src/EventManager.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/EventManager.js b/src/EventManager.js index 6267220..5c302e9 100644 --- a/src/EventManager.js +++ b/src/EventManager.js @@ -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(); + } } }