From 1c61d3805113000ee4cd81c7a84de690f4c46b48 Mon Sep 17 00:00:00 2001 From: Iskren Chernev Date: Mon, 7 Nov 2016 21:08:49 -0800 Subject: [PATCH] Fix parseZone, redo #3463 --- src/lib/units/offset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/units/offset.js b/src/lib/units/offset.js index f81b096b63..168aeadd80 100644 --- a/src/lib/units/offset.js +++ b/src/lib/units/offset.js @@ -171,7 +171,7 @@ export function setOffsetToLocal (keepLocalTime) { } export function setOffsetToParsedOffset () { - if (this._tzm) { + if (this._tzm != null) { this.utcOffset(this._tzm); } else if (typeof this._i === 'string') { var tZone = offsetFromString(matchOffset, this._i);