Skip to main content

parse_for

Function parse_for 

Source
pub fn parse_for(text: &str) -> Result<ForTime, String>
Expand description

Reads a --for value: an RFC 3339 / ISO 8601 date-time with an offset, or one without (UTC), or a date (midnight UTC).

ยงErrors

A message naming the accepted forms.