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) Add amIsBefore pipe #118

Closed
DethAriel opened this issue Dec 27, 2016 · 2 comments
Closed

(feature) Add amIsBefore pipe #118

DethAriel opened this issue Dec 27, 2016 · 2 comments

Comments

@DethAriel
Copy link

The use case I'm envisioning is as follows:

<ul>
  <li *ngFor="let reminder of userReminders" [class.alert]="reminder.dueDate | amIsBefore">
    <my-reminder [reminder]="reminder"></my-reminder>
  </li>
</ul>

Basically, I would love the moment.isBefore() implemented in this lib as an impure pipe.

StickNitro pushed a commit to StickNitro/ngx-moment that referenced this issue Dec 13, 2018
urish added a commit that referenced this issue Dec 30, 2018
feat: add amIsBefore and amIsAfter pipes for #118
@camillef
Copy link

camillef commented Oct 7, 2019

@urish Is this issue done?

@urish
Copy link
Owner

urish commented Oct 16, 2019

Yes, closing

@urish urish closed this as completed Oct 16, 2019
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

3 participants