Skip to main content

normalize_datetime_str

Function normalize_datetime_str 

Source
pub fn normalize_datetime_str(s: &str) -> Option<String>
Expand description

Insert :00 seconds into a datetime string like 2021-06-01T00:00Z that has only HH:MM after the T separator (no seconds component).