tammoippen / plotille

Plot in the terminal using braille dots.
MIT License
398 stars 17 forks source link

Add built-in support for `datetime.date` #28

Closed acarl005 closed 4 years ago

acarl005 commented 4 years ago

In a manner similar to how datetime.datetime can be passed in, this PR adds support for datetime.date objects.

This implementation add a formatter for dates which is effectively a wrapper around the existing datetime formatter, with the constraint that the time portion is always 00:00.