Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Reduce unnecessary getZone() calls in moment.tz()
`getZone(name)` was called on every call to `moment.tz()`, even though it wasn't needed in a lot of cases. This changes the call to only be made if it's needed for the `if` condition.
- Loading branch information