format_iso8601_ms_local

Function format_iso8601_ms_local 

Source
pub fn format_iso8601_ms_local(ts_ms: TimeStampMs) -> Result<String, Error>
Expand description

Format a timestamp with millisecond precision according to ISO 8601 format in the local timezone.

This function returns the timestamp in the format: YYYY-MM-DDThh:mm:ss.sss±hh:mm where the ±hh:mm part represents the timezone offset from UTC.

Example: “2025-05-20T09:30:45.123-05:00”

For more details on ISO 8601, see: https://en.wikipedia.org/wiki/ISO_8601