1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/assets/javascripts
Shane O'Grady 99506551d2 Replace jQuery.timeago (#3123)
* Remove jQuery.timeago

* Use new timeago.js library

This library is ~2KB, has no dependencies and includes several built-in locales.
It also updates the timestamp on the page in realtime.

* Set the timeago locale to the application locale

* Convert locale from hyphen to underscore

The localepassed by Rails/browser "Accept-Language" header needs to be
manipulated before being used by timeago.js
2016-09-20 10:15:31 -07:00
..
application.js Replace jQuery.timeago (#3123) 2016-09-20 10:15:31 -07:00
dashboard.js