diff --git a/apps/events/SETTINGS.md b/apps/events/SETTINGS.md index a93a6a7..6bc35d1 100644 --- a/apps/events/SETTINGS.md +++ b/apps/events/SETTINGS.md @@ -17,6 +17,7 @@ in-process settings cache TTL) without a server restart. | `org_email` | *(blank)* | No fallback in most places. **Exception:** the Terms of Use / Privacy Policy pages default to `privacy@example.com` (an obvious placeholder) if unset — see the Legal section below. | | `org_phone` / `org_address` | *(blank)* | No fallback — simply omitted wherever shown if unset. | | `app_base_url` | `APP_BASE_URL` or `FRONTEND_URL` env var, else `http://localhost:3001` | Used to build links in emails (password reset, ticket delivery, etc.). Should always be set in production. | +| `APP_TIMEZONE` (env) | `Africa/Johannesburg` | The site's time zone (an IANA name, e.g. `Europe/London`): background job schedules (e.g. the 07:00 daily summary), session dates and printed times. Also sent to the Hub in the heartbeat. Needs a backend restart. | ## Branding diff --git a/apps/events/backend/.env.example b/apps/events/backend/.env.example index 2874154..5185db4 100644 --- a/apps/events/backend/.env.example +++ b/apps/events/backend/.env.example @@ -13,6 +13,10 @@ JWT_SECRET=your_jwt_secret_here_minimum_32_characters PORT=5000 NODE_ENV=development +# Time zone for background job schedules (e.g. the 07:00 daily summary), session dates +# and printed times. An IANA name, e.g. Africa/Johannesburg or Europe/London. +APP_TIMEZONE=Africa/Johannesburg + # Set this if the app runs behind a reverse proxy (e.g. nginx on a separate # server) so rate limiting reads the real client IP instead of the proxy's. # Accepts a hop count ("1"), "true"/"false", or comma-separated IP(s)/CIDR(s)