Use and introduce a better date utility than datetime: pendulum
Options
- pendulum − repo − repology:py repology: best time handling, by the author of Poetry, but not yet in Debian
-
Humanize − repology: time handling requires
datetimeusage, but not as good aspendulum, other humanize interesting tools, in Debian - Arrow − repo − Debian package − repology (didn’t found timedelta)
- Delorean − repo
- pytz (PyPI) website (maintained, but poorly featured)
-
dateutil− repo − repology -
str(datetime.timedelta(secounds=X))which is minimalist but works.
Choice
-
pendulum, andhumanizeseems to be the best libraries.
Edited by Moul