Skip to content

Commit

Permalink
Fix parseZone, redo moment#3463
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Nov 8, 2016
1 parent a8dcd91 commit 1c61d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/units/offset.js
Expand Up @@ -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);
Expand Down

0 comments on commit 1c61d38

Please sign in to comment.