We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The diff function does not take into account the time zone. Reproduction recipe:
let range = moment.parseZoneRange('2010-03-31T20:00:00-04:00/2010-04-30T20:00:00-04:00') range.end.diff(range.start, 'months') // 0 range.end.utc().diff(range.start.utc(), 'months') // 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The diff function does not take into account the time zone. Reproduction recipe:
The text was updated successfully, but these errors were encountered: