This commit is contained in:
slonkazoid 2025-01-04 12:47:04 +03:00
parent aa2e2e92df
commit 1ce513031e
Signed by: slonk
SSH key fingerprint: SHA256:tbZfJX4IOvZ0LGWOWu5Ijo8jfMPi78TU7x1VoEeCIjM

View file

@ -181,7 +181,9 @@ function renderStatus(status) {
instance.target = "_blank";
let timestamp = document.createElement("span");
timestamp.classList.add("timestamp", "date", "date-rfc3339");
timestamp.innerText = new Date(Date.UTC(status.timestamp)).toISOString();
let d =
Date.parse(status.timestamp) + new Date().getTimezoneOffset() * 60000;
timestamp.innerText = new Date(d).toISOString();
meta.append(username, at, instance, " at ", timestamp);
quote.appendChild(meta);