rgaudin / tools

3 stars 13 forks source link

added methods that accepts datetime.datetime objects #5

Closed abelayalew closed 3 years ago

abelayalew commented 3 years ago

here is the code, sorry for the previous errors

rgaudin commented 3 years ago

Actually the feature was already there but I've made a mistake in backporting your previous code. That's been fixed in 7e7bdebd. I've updated the tests for this use case (using datetime.date instead of datetime.datetime to be more consistent though). Publishing a new version now.