DateType
DateType copied to clipboard
A type wrapper for the standard library `datetime` that supplies stricter checks, such as making 'datetime' not substitutable for 'date', and separating out Naive and Aware datetimes into separate, mu...
* Uses typing syntax compatible with Python 3.7. * Adapts the protocols definitions for earlier Python versions. * Starts to test in CI Python versions from 3.7 to 3.12. *...
Thank you for sharing this library! Would it be costly to support Python 3.7+? (Currently declared Python support is for 3.10+.) I think I would be willing to create a...
Hi, You're my hero. Thanks. Also, I want to actually use your library in my code, but I'm getting errors for `my_date + relativedelta(days=1)` (and same with `datetime`s). I wonder...
Would it be possible to keep the Python's runtime behaviour as is, adding the DateType typing annotations into the standard library “as native”? To have it accepted we would need...