clause fixes #16

Merged
adam merged 20 commits from dev into main 2026-09-29 22:13:57 +00:00
2 changed files with 6 additions and 0 deletions
Showing only changes of commit 3d78ff7863 - Show all commits

No files matched your search

+3
View File
@@ -316,8 +316,11 @@ async function loadBoard() {
// If we know the exact epoch day and haven't set date text yet, show it
if (finalEpoch !== null && !dateEl.textContent) {
// Epoch days start at midnight UTC, so format in UTC or viewers
// west of UTC see the previous day
dateEl.textContent = new Date(finalEpoch * 86400 * 1000)
.toLocaleDateString(undefined, {
timeZone: "UTC",
weekday: "long",
year: "numeric",
month: "long",
+3
View File
@@ -134,8 +134,11 @@
<script>
function formatDateFromEpochDays(epochDays) {
// Epoch days start at midnight UTC, so format in UTC or viewers
// west of UTC see the previous day
const date = new Date(epochDays * 86400 * 1000);
return date.toLocaleDateString(undefined, {
timeZone: "UTC",
weekday: "short",
year: "numeric",
month: "short",