glyph / DateType

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, mutually-incompatible types.
Other
73 stars 6 forks source link

publicly expose GenericDateTime #3

Closed glyph closed 1 year ago

glyph commented 1 year ago

It would be useful to be able to express, for example, that you have a datetime whose tzinfo is a zoneinfo.ZoneInfo so you can access its key attribute for serialization purposes.

glyph commented 1 year ago

fixed in 969538fad42733a348f6f5e844a4bcea83814b5f , released in 2022.12.7