Skip to main content

normalize_datetime

Function normalize_datetime 

Source
pub fn normalize_datetime(text: &str) -> String
Expand description

Rewrites the common non-conforming timestamp spellings into strict RFC 3339.

Returns the input unchanged when it does not look like a bare local timestamp.