Re:Ask HN: Know any validation libraries that guess whether ...
by jval43 on Saturday October 28, 2023 @04:10AM
(#38048103)
Wow that is a recipe for disaster. That feature alone would lead me to recommend staying away from the whole library.
I'd argue one needs to be especially pedantic here, not lax and "helpful". There are already so many edge cases working with dates and times, implementing something like this is plain irresponsible.
EDIT: Apparently Pydantic didn't even support timezones until recently. That signals to me a blatant disregard for one of the core issues with times and dates from the authors. Not sure how this library could get so popular.
I'd argue one needs to be especially pedantic here, not lax and "helpful". There are already so many edge cases working with dates and times, implementing something like this is plain irresponsible.
EDIT: Apparently Pydantic didn't even support timezones until recently. That signals to me a blatant disregard for one of the core issues with times and dates from the authors. Not sure how this library could get so popular.