Sha256: 4769fa89934e977e33e6b3669b60bacaeff8b5740551b1eaed25957028b03dd0

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

Volontariat.FormattedDatetimeHelper = Ember.Helper.helper((params) ->
  datetime = params[0]
  new (Ember.Handlebars.SafeString)('<span title="' + moment(datetime).format('llll') + '">' + moment(datetime).fromNow() + '</span>')
)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voluntary-ember_js-0.1.0 app/assets/javascripts/voluntary/ember_js/helpers/formatted_datetime_helper.js.coffee