Mercurial > libervia-backend
view .hgignore @ 3905:92482cc80d0b
tools (common/date_utils) handle timestamp and `in` + `delta2human`:
regex used to parse datetimes has been improved to handle a unix time (which can be used
with `+ <delta>` or `- <delta>`), and the `in <delta>` (e.g. `in 6 days`).
`DEFAULT_DATETIME` has been removed as dateutil use current date by default, which is the
expected behaviour.
Add `delta2human` method which convert the difference of 2 unix times to a human friendly
approximate text.
rel 372
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 22 Sep 2022 00:01:48 +0200 |
parents | 00212260f659 |
children | 84f6bee6440d |
line wrap: on
line source
syntax: glob *.pyc *.pyv *.swp *.swo tags twistd.log twistd.pid bridge_constructor/generated tests/e2e/report* _trial_temp/ sat.egg-info *.un~ dist MANIFEST build ctags_links/ Session.vim .build .pytest_cache env/ .eggs/ libervia_backend.egg-info/ .mypy_cache/ twisted/plugins/dropin.cache