diff --git a/www/html/wordle/game.html b/www/html/wordle/game.html index 5c829c0..c490f53 100644 --- a/www/html/wordle/game.html +++ b/www/html/wordle/game.html @@ -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", diff --git a/www/html/wordle/games.html b/www/html/wordle/games.html index 705a53e..bdf1ac0 100644 --- a/www/html/wordle/games.html +++ b/www/html/wordle/games.html @@ -134,8 +134,11 @@