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

Feature request: fromNow() Relative Time #15

Open
styfle opened this issue Apr 28, 2017 · 1 comment
Open

Feature request: fromNow() Relative Time #15

styfle opened this issue Apr 28, 2017 · 1 comment

Comments

@styfle
Copy link

styfle commented Apr 28, 2017

Would you consider adding a Relative Time feature such as moment's fromNow()?

@aweary
Copy link
Owner

aweary commented Jun 20, 2017

I would be open to providing similar functionality, as long as it was opt-in. fromNow will likely require a non-trivial amount of code, and size is a top priority.

Maybe it could be an additional export at a separate path?

import fromNow from 'tinytime/fromNow'

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

No branches or pull requests

2 participants