Expand description
time: read, set, or clear the device’s wall clock (PROP_TIME,
PROP_TZ_OFFSET).
The clock is not persisted — an epoch written to flash accumulates unbounded error while the device is off — so it comes back from a real source or not at all. The time zone is persisted: where a device is meant to be is known even when the time is not.
Structs§
- TzOffset
Arg - A time-zone offset in minutes east of UTC.
Enums§
Functions§
- format_
civil 🔒 - format_
tz - Render an offset the way it is written, so a mistyped one is visible as a zone rather than as a minute count nobody checks.
- format_
utc 🔒 - host_
epoch 🔒 - This host’s wall clock as a Unix second count.
- host_
tz_ 🔒offset - This host’s current UTC offset, in minutes east.
- parse_
part 🔒 - report_
set 🔒 - run