Skip to main content

parse_timestamp_flexible_str

Function parse_timestamp_flexible_str 

Source
pub fn parse_timestamp_flexible_str(
    s: &str,
) -> Result<DateTime<FixedOffset>, String>
Expand description

Same as parse_timestamp_flexible but returns the raw error string so callers using their own error types (e.g. DetectionError) can wrap it.