humantime

Function format_rfc3339_seconds

Source
pub fn format_rfc3339_seconds(system_time: SystemTime) -> Rfc3339Timestamp
Expand description

Format an RFC3339 timestamp 2018-02-14T00:28:07Z

This format always shows timestamp without fractional seconds.

The value is always UTC and ignores system timezone.