2024-08-01 13:46:03 +03:00
|
|
|
function replaceDates() {
|
|
|
|
for (let el of document.querySelectorAll(".date-rfc3339")) {
|
|
|
|
let date = new Date(Date.parse(el.textContent));
|
|
|
|
el.textContent = date.toLocaleString();
|
|
|
|
el.classList.remove("date-rfc3339");
|
|
|
|
}
|
2024-08-01 00:25:42 +03:00
|
|
|
}
|