chrono icon indicating copy to clipboard operation
chrono copied to clipboard

Unable to parse datetime timezone formatted with %Z

Open pkolaczk opened this issue 4 years ago • 0 comments
trafficstars

I'm getting input is not enough for unique date and time when trying to parse:

2021-06-03 08:11:16.207 +00:00

And format:

const TIMESTAMP_FMT: &str = "%Y-%m-%d %H:%M:%S.%3f %Z";

Interestingly, printing with %z and parsing back works fine.

Version 0.4.19.

pkolaczk avatar Jun 03 '21 08:06 pkolaczk