Function timestamp_unix_ns_to_rfc3339
Source pub(crate) fn timestamp_unix_ns_to_rfc3339(
timestamp_unix_ns: i64,
) -> Option<String>
Expand description
Converts a Unix nanosecond timestamp into RFC 3339 text in UTC.
§Arguments
timestamp_unix_ns - Time since the Unix epoch, in nanoseconds.
§Returns
The formatted time, for example 2026-09-01T00:00:00.000500+00:00. Every i64
value is representable, so this always returns Some.