libervia-backend/sat/tools/common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi 093b9d83bc 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
2022-09-22 00:01:48 +02:00
..
__init__.py core, setup: huge cleaning: 2018-04-02 19:44:50 +02:00
ansi.py Renamed the project from "Salut à Toi" to "Libervia": 2021-03-20 20:42:04 +01:00
async_process.py tools (common/async_process): use parent environment by default 2021-11-30 17:28:42 +01:00
async_utils.py tools (common): new async_utils module with an async version of lru_cache 2022-01-25 17:25:10 +01:00
data_format.py core, CLI (base), tools (common/data_format): typing/core readability 2022-09-21 22:20:43 +02:00
data_objects.py Renamed the project from "Salut à Toi" to "Libervia": 2021-03-20 20:42:04 +01:00
date_utils.py tools (common/date_utils) handle timestamp and in + delta2human: 2022-09-22 00:01:48 +02:00
dynamic_import.py Renamed the project from "Salut à Toi" to "Libervia": 2021-03-20 20:42:04 +01:00
email.py tools (common/email): use from_email is specified, always set email_sender_domain 2022-05-16 13:03:53 +02:00
files_utils.py date update 2021-03-19 15:45:14 +01:00
regex.py tools (common/regex): move code to make user friendly URLs from web frontend 2021-04-16 18:32:44 +02:00
template.py tools (common/template): fix setting of css_files_noscript when css_file is specified 2022-03-22 17:00:42 +01:00
template_xmlui.py tools (common/template_xmlui: add multi and value propertied to OptionsWidget 2021-06-04 14:44:33 +02:00
tls.py Renamed the project from "Salut à Toi" to "Libervia": 2021-03-20 20:42:04 +01:00
uri.py tools (common/uri): accept URIs without type: 2022-07-09 16:30:37 +02:00
utils.py tools (common/utils): new methods to parse and generate file size with symbols: 2021-05-05 15:37:33 +02:00