Conversation
| assert_eq!(parse("Aug 09 2013 23:54:35 -09 : 00", "%b %d %Y %H:%M:%S %::z"), Ok(dt)); | ||
| assert_eq!(parse("Aug 09 2013 23:54:35 -09:00:00", "%b %d %Y %H:%M:%S %::z"), Ok(dt)); | ||
| // mismatching colon expectations | ||
| assert!(parse("Aug 09 2013 23:54:35 -09:00:00", "%b %d %Y %H:%M:%S %::z").is_err()); |
There was a problem hiding this comment.
It seems strange that this errored?
There was a problem hiding this comment.
These tests are just weird, and I had to fix them endless times during rebases of the branches where I fixed this offset parsing bug.
71b2047 to
7509f42
Compare
7509f42 to
db464fa
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1639 +/- ##
==========================================
- Coverage 91.11% 90.90% -0.21%
==========================================
Files 37 37
Lines 17137 17137
==========================================
- Hits 15614 15579 -35
- Misses 1523 1558 +35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Sorry, I unfortunately don't have time at the moment 😞. A complete fix with tests for this category of errors is in #1083. |
|
@pitdicker thanks for the quick response, and the pointer! Going to have a look at your PR. |
%::zis defined as:So it seems like we should support this better?
Fixes #1629.