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 Moment.fromNow() spec says
Moment.fromNow()
45 to 319 days | MM | 2 months ago ... 10 months ago
implying that a timespan of 319 days should return "10 months ago".
The implementation in DateHelper returns "11 months ago" for this.
https://github.com/bennadel/JavaScript-Demos/blob/master/demos/date-helper-angular11/src/app/date-helper.ts#L271
I was curious if this was a known deviation from the spec?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
Moment.fromNow()
spec saysimplying that a timespan of 319 days should return "10 months ago".
The implementation in DateHelper returns "11 months ago" for this.
https://github.com/bennadel/JavaScript-Demos/blob/master/demos/date-helper-angular11/src/app/date-helper.ts#L271
I was curious if this was a known deviation from the spec?
The text was updated successfully, but these errors were encountered: