Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

moment().fromNow() in angular-moment? #283

Open
mescalito opened this issue Jan 4, 2017 · 0 comments
Open

moment().fromNow() in angular-moment? #283

mescalito opened this issue Jan 4, 2017 · 0 comments

Comments

@mescalito
Copy link

mescalito commented Jan 4, 2017

How can I do this moment().fromNow() in angular-moment?

<div class="date pull-right"> {{ a.Alert.date }}...</div>

How can I format variable "a.Alert.date"? this is not working: moment(a.Alert.date).fromNow().

In SO: http://stackoverflow.com/questions/41472376/how-to-moment-fromnow-in-angular-moment

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant