diff --git a/static/blogin.js b/static/blogin.js index d147e92..daadf77 100644 --- a/static/blogin.js +++ b/static/blogin.js @@ -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);