-
Notifications
You must be signed in to change notification settings - Fork 154
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
Added SubtractPipe and AddPipe #78
Conversation
@urish please can you merge this PR ? |
@dustin486 Hi, can you please update the PR to align the file names with angular2 style guide convention? i.e. use add.pipe.ts instead of AddPipe.ts, etc. I would love to see this feature as part of the upcoming 1.1.0 release :) Thanks! |
@urish Sure. I am at work until later tonight, but will do this tomorrow. |
Much appreciated! |
Ping |
I hope that you feel better now :-) I will take a look at #113 soon! |
I added the functions for SubtractPipe and AddPipe. These are used as:
{{ mydate | amAdd : '2' : 'hours' }}
{{ mydate | amSubtract : '2' : 'hours' }}