adopted-ember-addons / ember-moment

MIT License
399 stars 122 forks source link

diff computed property and helpers #240

Closed notacoat closed 3 years ago

notacoat commented 7 years ago

any plans on adding diff (https://momentjs.com/docs/#/displaying/difference/)?

jasonmit commented 7 years ago

@EmilyBarbour would happily review a PR that adds this.

jasonmit commented 7 years ago

Thanks for landing the helper portion of this issue: https://github.com/stefanpenner/ember-moment/pull/241/files

I'm keep open so we can track the computed property macro.

notacoat commented 7 years ago

If no one picks this up, will do in the next couple of weeks; just a bit busy now with work and have more of an immediate need for the helper.

jasonmit commented 7 years ago

@EmilyBarbour no rush :) If I can carve out time between now and then I'll also jump in.

NullVoxPopuli commented 3 years ago

computed macros have been removed in v9 -- this can be handled via a plain ol' JS getter