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

[WIP] Introduce time difference humanizer #5

Merged
merged 6 commits into from
Apr 28, 2014
Merged

Conversation

norberttech
Copy link
Member

Still need to add more tests and translations

/**
* @return int
*/
public function getThresholdQuantity();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, but my only concern is that getThresholdQuantity is not consistent. Cuz it can return hours, seconds, days. I think it would be good idea to make it consistent. Perhaps removing getMiliseconds and make getThreasholdQuanity return those miliseconds itself.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, I dont like it neither. I will try to get rid of it.

@norberttech
Copy link
Member Author

@defrag updated ;)

defrag added a commit that referenced this pull request Apr 28, 2014
[WIP] Introduce time difference humanizer
@defrag defrag merged commit 7438be8 into coduo:master Apr 28, 2014
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.

2 participants