-
Notifications
You must be signed in to change notification settings - Fork 67
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: support future times #23
Comments
Have you tried |
@binarypatrick that works, but having it built in would be nicer. I wanted to make a pipe that wraps this pipe, but ran into injector errors (not sure why), so just having this built in would alleviate that sort of issue as well. The other issue is that going in reverse will not work correctly with the timer that is set. It assumes that timestamps only move in the forward direction. |
I completely agree. Maybe it would be better to create a timeUntil pipe that mirrors timeAgo in the other direction. |
I ended up using https://www.npmjs.com/package/ngx-timeago which handles both cases with one pipe (which is ideal). |
Currently it shows the diff in "xxx ago" which can be confusing at times.
Cheers :)
The text was updated successfully, but these errors were encountered: