Default the CLI to the system time zone
It shipped with America/Denver hardcoded, taken from what dominates the historical data on the server. That data is old; the reader has moved. A zone belongs to whoever is looking at the calendar, and baking one in is the same mistake as v1's offset-instead-of-zone in miniature -- it looks right until the reader is somewhere else. Falls back to UTC rather than to a populated guess: an obviously neutral wrong answer gets noticed, a plausible one does not.
This commit is contained in:
@@ -60,6 +60,7 @@ leptos_router = "0.8"
|
||||
|
||||
# CLI
|
||||
clap = { version = "4", features = ["derive", "env"] }
|
||||
iana-time-zone = "0.1"
|
||||
|
||||
# Dev
|
||||
pretty_assertions = "1"
|
||||
|
||||
Reference in New Issue
Block a user