bingus-blog/static/main.js

4 lines
154 B
JavaScript

for (let el of document.querySelectorAll(".date-rfc3339")) {
let date = new Date(Date.parse(el.textContent));
el.textContent = date.toLocaleString();
}