Default the backend time zone from the host configuration #14
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#14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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
The module should propagate the host's
time.timeZoneto the backend asTZ, so operators do not have to configure the zone twice and do not hit thetzlocalwarning on hosts that already set a system time zone.Context
tzlocal, which readsTZ,/etc/timezone, and/etc/localtime; without one it warns and falls back to UTC.services.kitchenowl.extra-settings.TZ.services/default.nixalready reads fromconfigfor nginx, postgresql, and systemd settings.Scope
TZfromconfig.time.timeZonewhen it is not null, at a priority that letsextra-settings.TZoverride it.Acceptance criteria
time.timeZoneset addsTZto the backend environment.extra-settings.TZstill wins.time.timeZone = nullare unchanged.just testpasses.Dependencies