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

FR: Add *Duration pipes #351

Open
rafaelss95 opened this issue Feb 22, 2021 · 2 comments
Open

FR: Add *Duration pipes #351

rafaelss95 opened this issue Feb 22, 2021 · 2 comments

Comments

@rafaelss95
Copy link
Contributor

Description of the Issue and Steps to Reproduce:
Hey, I want to share a suggestion to add *Duration pipes for formatDuration, formatISODuration and intervalToDuration functions.

Did you search for duplicate issue? Yes.

Please answer the following questions:

  • Angular version? 11.
  • TypeScript version? 4.1.
  • date-fns version? 2.17.0
@joanllenas
Copy link
Owner

Hi @rafaelss95 ,
it makes a lot of sense. I'll take a look at this soon.
Thanks for your suggestion!

joanllenas added a commit that referenced this issue Mar 6, 2021
Added two new pipes: `dfnsFormatDuration` and `dfnsFormatDurationPure`

BREAKING CHANGE: This version requires date-fns >= v2.16.0

#351
@joanllenas
Copy link
Owner

joanllenas commented Mar 6, 2021

Feature status

  • formatDuration
  • formatISODuration
  • intervalToDuration

Repository owner deleted a comment from jacky-xbb Mar 4, 2024
@github-staff github-staff deleted a comment from robincj Apr 27, 2024
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