feat(web): set test open date

This commit is contained in:
2026-03-11 09:22:01 +01:00
parent 89043c60a3
commit 439bbc5545
5 changed files with 12 additions and 7 deletions

View File

@@ -351,8 +351,8 @@ export async function sendCancellationEmail(params: {
function reminderHtml(params: { firstName?: string | null }) {
const greeting = params.firstName ? `Hoi ${params.firstName},` : "Hoi!";
// Registration opens at 2026-03-16T19:00:00+01:00
const openDateStr = "maandag 16 maart 2026 om 19:00";
// Registration opens at 2026-03-11T10:30:00+01:00
const openDateStr = "woensdag 11 maart 2026 om 10:30";
const registrationUrl = `${baseUrl}/#registration`;
return `<!DOCTYPE html>

View File

@@ -18,7 +18,7 @@ import { generateQrSecret } from "../lib/drinkkaart-utils";
import { drinkkaartRouter } from "./drinkkaart";
// Registration opens at this date — reminders fire 1 hour before
const REGISTRATION_OPENS_AT = new Date("2026-03-10T17:00:00+01:00");
const REGISTRATION_OPENS_AT = new Date("2026-03-11T10:30:00+01:00");
const REMINDER_WINDOW_START = new Date(
REGISTRATION_OPENS_AT.getTime() - 60 * 60 * 1000,
);

View File

@@ -35,7 +35,7 @@ export const web = await TanStackStart("web", {
// Cron secret for protected scheduled endpoints
CRON_SECRET: getEnvVar("CRON_SECRET"),
},
// Fire every hour so the reminder check can run at 18:00 on 2026-03-16
// Fire every hour so the reminder check can run at 09:30 on 2026-03-11
crons: ["0 * * * *"],
domains: ["kunstenkamp.be", "www.kunstenkamp.be"],
});