When parsing dates using the chrono library with week-number format strings such as %Y-%W-%w or %Y-%U-%u …
When parsing dates using the chrono library with week-number format strings such as %Y-%W-%w or %Y-%U-%u …: a task in LegoFlow-SWE (Harbor dataset). // This works let d1 = NaiveDate::parse from str("2020-01-0", "%Y-%W-%w"); assert!(d1.is ok()); // succeeds, e.g., 2020-01-12
The task
// This works let d1 = NaiveDate::parse_from_str("2020-01-0", "%Y-%W-%w"); assert!(d1.is_ok()); // succeeds, e.g., 2020-01-12
Part of Lego-X/LegoFlow-SWE.