From a432fb9b04e9f6662c62c207d6302fd64d82d6df Mon Sep 17 00:00:00 2001 From: ethanf Date: Sun, 17 Aug 2025 21:48:59 -0500 Subject: [PATCH] fix: update poll end date to 8/24/25 in server and constants --- server/server.js | 4 ++-- src/constants.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/server.js b/server/server.js index da0bb6c..83337f0 100644 --- a/server/server.js +++ b/server/server.js @@ -19,8 +19,8 @@ const FRONTEND_URL = process.env.FRONTEND_URL || 'http://localhost:5173'; const VOTES_FILE = path.join(process.cwd(), 'votes.json'); const PRODUCTION_DOMAIN = process.env.DOMAIN || 'https://s22.ethanf.gg'; -// Poll ends at 11:59 PM Eastern Time on 8/21/25 -const POLL_END_DATE = new Date("2025-08-21T23:59:59-04:00"); +// Poll ends at 11:59 PM Eastern Time on 8/24/25 +const POLL_END_DATE = new Date("2025-08-24T23:59:59-04:00"); function isPollEnded() { return new Date() > POLL_END_DATE; diff --git a/src/constants.ts b/src/constants.ts index ea13a20..afd9325 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -8,8 +8,8 @@ export const POLL_NAME = "Unofficial RGL HL Season 22 Stopwatch Map Poll"; export const API_BASE_URL = "https://s22.ethanf.gg"; -// Poll ends at 11:59 PM Eastern Time on 8/21/25 -export const POLL_END_DATE = new Date("2025-08-21T23:59:59-04:00"); // EDT timezone +// Poll ends at 11:59 PM Eastern Time on 8/24/25 +export const POLL_END_DATE = new Date("2025-08-24T23:59:59-04:00"); // EDT timezone export const mapOptions: MapOption[] = [ { name: "cp_steel_f12", img: steel },