Expand description
Times in the CLI: reading --for and showing a moment in UTC and local time (see
archive/PROJECT.md, Web UI and CLI: times and time zones).
--for without an offset is UTC, with a warning naming the moment taken; an explicit
offset is used as given. Every time shown to a person appears twice, UTC and the machine’s
zone (2026-10-15 03:00 UTC (05:00 CEST)); JSON output has UTC only.
Structs§
- ForTime
- A moment read from
--for.
Functions§
- local_
zone - The machine’s time zone:
TZwhen set and known, else the system’s, else UTC. - parse_
for - Reads a
--forvalue: an RFC 3339 / ISO 8601 date-time with an offset, or one without (UTC), or a date (midnight UTC). - parse_
time_ flag - Reads a moment given as
flag(--from,--to) asparse_forreads--for. - show
- A moment in UTC and in
local, e.g.2026-10-15 03:00 UTC (05:00 CEST); the local date is shown only when it differs, and the local part is left out whenlocalis UTC. - show_
seconds - As
show, always with seconds (03:00:00): moments in a column line up (the UI’s run lists, where whole-minute planned times were shorter than the rest). - show_
short - A moment in short form, where space matters: UTC, then the local zone’s offset from UTC
at that moment, e.g.
2026-01-01 00:00Z (local:+1h),2026-10-15 01:00Z (local:-4h),2026-10-15 03:00Z (local:+5h30m); no offset part when it is zero. - trigger_
text - A trigger as people write it:
0 3 * * * (Europe/Warsaw),every 1h, catchup,@daily, 2025-12-31 23:00Z (local:+1h)..(its window, either end open),once at …,-; times in UTC withlocal’s offset.triggeris a DAG’s trigger in DAG JSON.