fix: update poll end date to 8/24/25 in server and constants

This commit is contained in:
ethanf 2025-08-17 21:48:59 -05:00
parent 27565f513c
commit a432fb9b04
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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 },