Function humantime::parse_rfc3339_weak
source · pub fn parse_rfc3339_weak(s: &str) -> Result<SystemTime, Error>
Expand description
Parse RFC3339-like timestamp 2018-02-14 00:28:07
Supported features:
- Any precision of fractional digits
2018-02-14 00:28:07.133
. - Supports timestamp with or without either of
T
orZ
- Anything valid for
parse_3339
is valid for this function
Unsupported feature: localized timestamps. Only UTC is supported, even if
Z
is not specified.
This function is intended to use for parsing human input. Whereas
parse_rfc3339
is for strings generated programmatically.