docs: document the required time zone configuration #13
No reviewers
Labels
No labels
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Personal/kitchenowl-flake!13
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/time-zone"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Document that the backend needs a host time zone (
time.timeZoneorTZ). Without one,tzlocalwarns on every start and falls back to UTC, which also determines the default time zone for the APScheduler jobs and the Celery worker.Motivation
On a NixOS host without
time.timeZonethe backend logs the following on each startup:The same applies to
/etc/localtimebeing absent. Scheduled jobs then run on UTC. This was found while cleaning up kitchenowl backend journal warnings.Notes
A possible follow-up is to default
extra-settings.TZfromconfig.time.timeZoneinservices/default.nix, so users do not have to configure the zone twice. Kept out of this PR to keep it documentation-only.