Skip to content

Commit

Permalink
Merge pull request #3581 from ichernev:fix-parse-zone
Browse files Browse the repository at this point in the history
[bugfix] Fix parseZone, redo #3504, fix #3463
  • Loading branch information
ichernev committed Nov 8, 2016
2 parents a8dcd91 + 94aee09 commit b127b89
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 b127b89

Please sign in to comment.