pydantic / speedate

Fast and simple datetime, date, time and duration parsing for rust.
https://docs.rs/speedate/latest/speedate/
MIT License
199 stars 17 forks source link

raise `DateNotExact` error for millisecond timestamps #67

Closed davidhewitt closed 3 months ago

davidhewitt commented 3 months ago

Split from #65

Reading the code it seemed to be an obvious deficiency that only second timestamps were checked for exactness and millisecond timestamps would just ignore the millisecond portion.