ngx-pipes
ngx-pipes copied to clipboard
New feature request: "TimeTo" pipe
I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[X] feature request
Ngx-pipes version:
2.7.5
Current behavior There is a TimeAgo pipe for past dates, but no "TimeTo" pipe for upcoming dates.
Expected behavior TimeTo pipe would work similar to TimeAgo and return a string e.g. "in 2 weeks", "in one year", "in 12 hours and 23 minutes".
Minimal reproduction of the problem with instructions
Please tell us about your environment: Not relevant
- Angular version: 9.0.0
-
Node (for AoT issues):
node --version
=
Sounds good. Do you want to make a PR for this one?
I already have the code for this, how do I make the PR?