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

Add DateTime.strftime declaration #5

Closed werkshy closed 1 year ago

werkshy commented 1 year ago

This declaration was missing but does exist on datetime.datetime [0].

[0] https://docs.python.org/3/library/datetime.html#datetime.datetime.strftime

Fixes issue #4

glyph commented 1 year ago

Thanks, sorry for the oversight.