libervia-backend/sat/tools
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
..
common tools (common/date_utils) handle timestamp and in + delta2human: 2022-09-22 00:01:48 +02:00
__init__.py core, setup: huge cleaning: 2018-04-02 19:44:50 +02:00
async_trigger.py tools (async_trigger): fix return value in asyncReturnPoint + typing hints 2022-05-13 18:19:56 +02:00
config.py bridge: bridge can now be set using environment variable: 2021-08-28 15:26:02 +02:00
image.py Renamed the project from "Salut à Toi" to "Libervia": 2021-03-20 20:42:04 +01:00
sat_defer.py Renamed the project from "Salut à Toi" to "Libervia": 2021-03-20 20:42:04 +01:00
stream.py Renamed the project from "Salut à Toi" to "Libervia": 2021-03-20 20:42:04 +01:00
trigger.py date update 2021-03-19 15:45:14 +01:00
utils.py tools (utils): helper parse_xmpp_date method: 2022-09-21 22:29:54 +02:00
video.py Renamed the project from "Salut à Toi" to "Libervia": 2021-03-20 20:42:04 +01:00
web.py core (tools/web): helped method to download files: 2022-06-29 12:07:45 +02:00
xml_tools.py tools (xml_tools): handle required field in dataDict2dataForm: 2022-09-21 22:43:55 +02:00
xmpp_datetime.py tools: renamed module sat.tools.datetime to date.tools.xmpp_datetime to avoid conflict with Python's standard lib 2022-08-31 13:18:56 +02:00