diff --git a/frontend/src/app/llms.txt/route.ts b/frontend/src/app/llms.txt/route.ts index 5158d4c..4411cf7 100644 --- a/frontend/src/app/llms.txt/route.ts +++ b/frontend/src/app/llms.txt/route.ts @@ -51,12 +51,17 @@ async function getUpcomingEvents(): Promise { } } +// Event times are always shown in Paraguay time (America/Asuncion) so llms.txt +// matches what users see on the website, regardless of server timezone. +const EVENT_TIMEZONE = 'America/Asuncion'; + function formatEventDate(dateStr: string): string { return new Date(dateStr).toLocaleDateString('en-US', { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', + timeZone: EVENT_TIMEZONE, }); } @@ -65,6 +70,7 @@ function formatEventTime(dateStr: string): string { hour: '2-digit', minute: '2-digit', hour12: true, + timeZone: EVENT_TIMEZONE, }); }