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
datetime
usage, 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
, andhumanize
seems to be the best libraries.
Edited by Moul