Skip to main content

parse_datetime_local

Function parse_datetime_local 

Source
pub fn parse_datetime_local(raw: &str) -> Result<DateTime<Utc>, String>
Expand description

Parse the YYYY-MM-DDTHH:MM[:SS] value emitted by the browser’s <input type="datetime-local"> widget into a DateTime<Utc>.