13 lines
219 B
JavaScript
13 lines
219 B
JavaScript
/**
|
|
Updates the relative ages of dates on the screen.
|
|
|
|
**/
|
|
Discourse.addInitializer(function() {
|
|
|
|
setInterval(function(){
|
|
Discourse.Formatter.updateRelativeAge($('.relative-date'));
|
|
}, 60 * 1000);
|
|
|
|
}, true);
|
|
|