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

Input: some date in future, output: "just now" #1

Merged
merged 1 commit into from
May 24, 2013

Conversation

nrgbodya
Copy link

Hey Ramon,

nice category.
After reading your code I found out, that category will always return "just now" if you send -prettyDate message to some date in future. According to documentation, components:fromDate:toDate:options: method returns negative component values if toDate parameter is before fromDate parameter.

ramonski added a commit that referenced this pull request May 24, 2013
Input: some date in future, output: "just now"
@ramonski ramonski merged commit 86826ee into ramonski:master May 24, 2013
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