urish/angular-moment

Support for startOf, endOf

Closed this issue · 6 comments

This would be really useful (supported from momentjs 1.7.0)

for example:

{{ date | amStartOf:'month' | amLocal }}
{{ date | amEndOf:'day' | amLocal }}

links:
http://momentjs.com/docs/#/manipulating/start-of/
http://momentjs.com/docs/#/manipulating/end-of/

👍

urish commented

Sounds like a great idea, can you please send a PR with these filters?

Thanks!

urish commented

@vikbez are you interested in sending a PR for this features?

Yes, but I'm currently quite busy, so if you want to do it, free to you or else wait a little :)

Thanks

urish commented

@vikbez great, thanks! I will wait for it then :)

closed with #203