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

New feature request: "TimeTo" pipe #194

Open
yannpiot opened this issue May 26, 2021 · 2 comments
Open

New feature request: "TimeTo" pipe #194

yannpiot opened this issue May 26, 2021 · 2 comments

Comments

@yannpiot
Copy link

yannpiot commented May 26, 2021

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 =
@danrevah
Copy link
Owner

danrevah commented Aug 25, 2021

Sounds good.
Do you want to make a PR for this one?

@pedro-deleon
Copy link

I already have the code for this, how do I make the PR?

pedro-deleon added a commit to pedro-deleon/ngx-pipes that referenced this issue Sep 13, 2021
pedro-deleon added a commit to pedro-deleon/ngx-pipes that referenced this issue Sep 13, 2021
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

3 participants