1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/filter
René Moser 945296f314
filter: add new time convert filter (#347)
* filter: add new time convert filters

The plugin include:
- to_seconds
- to_minutes
- to_hours

* refactor and extend

* more UX improvements

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* even more UX improvments

* fix indentation

* fix for py3

* enable aix in ci

* simplify

* add to_months, use 360d as year.

* rearrange tests

* year back to 365 days

Co-authored-by: Felix Fontein <felix@fontein.de>
2020-05-18 09:54:23 +02:00
..
__init__.py Initial commit 2020-03-09 09:11:07 +00:00
json_query.py Initial commit 2020-03-09 09:11:07 +00:00
random_mac.py Initial commit 2020-03-09 09:11:07 +00:00
time.py filter: add new time convert filter (#347) 2020-05-18 09:54:23 +02:00