Skip to content

Commit

Permalink
remove patch to create new branch
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-ghostly committed Dec 17, 2023
1 parent e8f27ca commit 48dd174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moment-timezone.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@
offset;

if (mom._z === undefined) {
if (zone && needsOffset(mom) && !mom._isUTC && mom.isValid()) {
if (zone && needsOffset(mom) && !mom._isUTC) {
mom._d = moment.utc(mom._a)._d;
mom.utc().add(zone.parse(mom), 'minutes');
}
Expand Down

0 comments on commit 48dd174

Please sign in to comment.