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
If you look here https://github.com/moment/moment/blob/ae34b8100eb925832c7c0bc729ba0485de77bde6/moment.js#L1266
We are creating a fresh moment with the no timezone information so the calendar() method doesn't calculate the day diff correctly.
I've manually fixed this by inlining the body of the method into my code.
The text was updated successfully, but these errors were encountered:
You are right.
I filed an issue at moment/moment#946 to track this.
Sorry, something went wrong.
No branches or pull requests
If you look here https://github.com/moment/moment/blob/ae34b8100eb925832c7c0bc729ba0485de77bde6/moment.js#L1266
We are creating a fresh moment with the no timezone information so the calendar() method doesn't calculate the day diff correctly.
I've manually fixed this by inlining the body of the method into my code.
The text was updated successfully, but these errors were encountered: