1.0.2 • Published 10 years ago

ember-time-ago v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

Time Ago in Words

This addon has been deprecated.

Please see https://github.com/johnotander/ember-cli-dates for the current version.

An ember-cli addon for computing the time ago in words with moment.js.

Installation

First, you must install moment with bower:

$ bower install --save moment

Add the following import to your Brocfile.js:

app.import('vendor/moment/moment.js');

Then, install ember-time-ago:

$ npm install --save ember-time-ago

Usage

In your view:

{{time-ago-in-words this.createdAt}}

License

MIT

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by John Otander.

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago