Skip to content
New issue

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

Fix min/max mutator documentation links #261

Closed
wants to merge 2 commits into from
Closed

Fix min/max mutator documentation links #261

wants to merge 2 commits into from

Conversation

yoz
Copy link

@yoz yoz commented Feb 2, 2016

No description provided.

@mattjohnsonpint
Copy link
Contributor

Thanks, but actually the current docs are correct. The docs explain:

So a.max(b) is the same as a = moment.min(a, b) (note that max is converted to min).
...
So a.min(b) is the same as a = moment.max(a, b) (note that min is converted to max).

@mattjohnsonpint
Copy link
Contributor

In other words, the old style was confusing, so they were reversed to their expected names in the new style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants