1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00
gallery-dl/test
Mike Fährmann aac00a2024
add 'd' conversion for format strings
to convert a timestamp to a formattable 'datetime' object.

For example '{created_at!d:%Y-%m-%d}'
transforms the timestamp in 'created_at' into a 'datetime' object
and then formats its content using '%Y-%m-%d' as template.

1262304000 -> datetime(2010, 1, 1) -> "2010-01-01"
2021-01-09 01:58:44 +01:00
..
__init__.py add tests for text-module 2015-10-03 14:51:13 +02:00
test_cache.py write OAuth token to cache by default (#616) 2020-05-25 22:35:45 +02:00
test_config.py implement 'config.accumulate()' (#994) 2020-09-14 21:13:08 +02:00
test_cookies.py [sankaku] remove login support 2020-12-08 21:05:47 +01:00
test_downloader.py add 'filesize-min' and 'filesize-max' options (closes #780) 2020-09-03 18:21:04 +02:00
test_extractor.py speed up _list_classes() after iterating over all modules once 2020-10-26 22:18:15 +01:00
test_oauth.py skip external OAuth tests (closes #908) 2020-07-30 19:26:09 +02:00
test_postprocessor.py [postprocessor:metadata] add 'event' and 'filename' options 2020-11-20 22:29:11 +01:00
test_results.py update extractor test results 2020-12-27 17:41:08 +01:00
test_text.py strip microseconds in text.parse_datetime() 2020-06-17 21:40:16 +02:00
test_util.py add 'd' conversion for format strings 2021-01-09 01:58:44 +01:00