libervia-backend/sat/tools/common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi 4b81275fdf tools (common/date_utils): date_parse_ext + timezone handling:
- new date_parse_ext method parse a date where relative informations can be added. e.g.: "1 week ago", "now - 2 days", "01/01/01 01:01 + 3 hours".
- new TZ_UTC and TZ_LOCAL constants can be used to use UTC time or local time zone.
- date_parse* can now use a default_tz, which will be used if timezone if not specified in date format (default UTC).
- tz_info can now be used in date_format to format the time in given timezone (default: UTC).
2018-12-01 10:40:19 +01:00
..
__init__.py core, setup: huge cleaning: 2018-04-02 19:44:50 +02:00
ansi.py code style reformatting using black 2018-06-27 20:14:46 +02:00
data_format.py tools (common/data_format): serialise now check types and return a default value when empty string is parsed. 2018-12-01 09:59:48 +01:00
data_objects.py code style reformatting using black 2018-06-27 20:14:46 +02:00
date_utils.py tools (common/date_utils): date_parse_ext + timezone handling: 2018-12-01 10:40:19 +01:00
dynamic_import.py code style reformatting using black 2018-06-27 20:14:46 +02:00
files_utils.py code style reformatting using black 2018-06-27 20:14:46 +02:00
regex.py code style reformatting using black 2018-06-27 20:14:46 +02:00
template.py template: better css files order 2018-10-03 20:38:10 +02:00
template_xmlui.py frontends (xmlui): class_map is now an arg of create function: 2018-08-31 16:03:12 +02:00
uri.py code style reformatting using black 2018-06-27 20:14:46 +02:00