FIX: we don't need to refresh dates so often (#8367)
This commit is contained in:
parent
45648e46ba
commit
e6442a2d2f
plugins/discourse-local-dates/assets/javascripts
|
@ -78,7 +78,10 @@
|
||||||
.find(".relative-time")
|
.find(".relative-time")
|
||||||
.text(formatedDateTime);
|
.text(formatedDateTime);
|
||||||
|
|
||||||
this.timeout = setTimeout(() => processElement($element, options), 10000);
|
this.timeout = setTimeout(
|
||||||
|
() => processElement($element, options),
|
||||||
|
60 * 1000
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function _formatTimezone(timezone) {
|
function _formatTimezone(timezone) {
|
||||||
|
|
Loading…
Reference in New Issue