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

I want output like "59m, 59s ago" #11

Open
pranavlathigara opened this issue May 17, 2017 · 1 comment
Open

I want output like "59m, 59s ago" #11

pranavlathigara opened this issue May 17, 2017 · 1 comment

Comments

@pranavlathigara
Copy link

Hi Thanx for this library
My Question is I want Specifically Output Like " 1h 25m ago"
instead only " 1h "
so is there any Option for this

@damien5314
Copy link
Owner

Sorry for the delayed response. I don't think this library supports that, it's a pretty simple class. You might be better off just forking the code to get the behavior you want, but I'd also be open to pull requests to allow for some configuration around the thresholds and formatting for each message.

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

No branches or pull requests

2 participants