logo
pub fn to_rfc3339_nanos(t: OffsetDateTime) -> String
Expand description

Serialization helper for converting an OffsetDateTime object to a string.

This reproduces the behavior of Go’s time.RFC3339Nano format, ie. a RFC3339 date-time with left-padded subsecond digits without trailing zeros and no trailing dot.