]> jfr.im git - yt-dlp.git/commit
[utils] Add `datetime_from_str` to parse relative time (#221)
authorcolethedj <redacted>
Tue, 6 Apr 2021 06:45:15 +0000 (18:45 +1200)
committerpukkandan <redacted>
Wed, 7 Apr 2021 11:39:06 +0000 (17:09 +0530)
commit9e62f283ffd07ddb19de8b9f03db377aad369cc1
tree0df06e85252fb5b781049a6608c0896d60a0f35e
parentc24ce07a84ec440fdfd8a050fd6019393a50577b
[utils] Add `datetime_from_str` to parse relative time (#221)
and `datetime_add_months` to accurately add/subtract months

Authored by: colethedj
test/test_utils.py
yt_dlp/utils.py