export const dynamic = "force-dynamic"; export async function GET() { const configuredTimeZone = process.env.ORGANIZER_TIMEZONE || "America/Chicago"; let timeZone = "America/Chicago"; try { new Intl.DateTimeFormat("en-US", { timeZone: configuredTimeZone }).format(new Date()); timeZone = configuredTimeZone; } catch { // Keep a valid default if a deployment typo reaches the process. } return Response.json( { timeZone }, { headers: { "Cache-Control": "public, max-age=3600" } }, ); }