Closed pimeys closed 4 years ago
This addresses the case of old MySQL feature of storing 0000-00-00 00:00:00 for invalid dates. This cannot be converted to chrono, thus it's better to error gracefully instead of triggering a panic.
0000-00-00 00:00:00
What panics here is chrono, it doesn't return an error but just panics. We can't have that...
chrono
This addresses the case of old MySQL feature of storing
0000-00-00 00:00:00
for invalid dates. This cannot be converted to chrono, thus it's better to error gracefully instead of triggering a panic.