maybe fix race condition
This commit is contained in:
parent
47476ceb3d
commit
96922f2483
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
for (let el of document.querySelectorAll(".date-rfc3339")) {
|
for (let el of document.querySelectorAll(".date-rfc3339")) {
|
||||||
let date = new Date(Date.parse(el.textContent));
|
let date = new Date(Date.parse(el.textContent));
|
||||||
el.textContent = date.toLocaleString();
|
el.textContent = date.toLocaleString();
|
||||||
|
el.classList.remove("date-rfc3339");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue