Skip to main content

Module time_compat

Module time_compat 

Source
Expand description

Small compatibility helpers that avoid pulling in heavy dependencies (e.g. chrono) for trivial needs.

Functionsยง

current_timestamp_rfc3339
Return the current wall-clock time as an RFC 3339 / ISO 8601 string in UTC with second precision. Used for telemetry/health fields that previously relied on chrono::Utc::now().to_rfc3339().