yt-dlp/yt_dlp
Luc Ritchie 4f3fa23e5a
[utils] Fix parsing YYYYMMDD dates in Nov/Dec (#2094)
The date format `%Y%m%d%H%M` will successfully match against
one-digit month, day, hour, and minute strings, even though %m et al.
are documented as being zero-padded. So dates without time in
Nov/Dec may be wrongly parsed as dates in January with time.

This commit adds a format string of `%Y%m%d` to our supported date
format strings directly below (higher priority) its problematic relatives.

Closes #2076
Authored by: wlritchi
2021-12-24 02:04:01 +05:30
..
downloader Add option --file-access-retries (#2066) 2021-12-23 07:59:03 +05:30
extractor [LBRY] Support livestreams (#2062) 2021-12-23 08:48:02 +05:30
postprocessor [cleanup] Misc cleanup 2021-12-23 07:12:46 +05:30
__init__.py Fix bug in 1cefca9e44 2021-12-23 09:15:05 +05:30
__main__.py
aes.py
cache.py
compat.py
cookies.py
jsinterp.py
minicurses.py
options.py Add option --file-access-retries (#2066) 2021-12-23 07:59:03 +05:30
socks.py
swfinterp.py.disabled
update.py [cleanup] Misc cleanup 2021-12-23 07:12:46 +05:30
utils.py [utils] Fix parsing YYYYMMDD dates in Nov/Dec (#2094) 2021-12-24 02:04:01 +05:30
version.py
webvtt.py
YoutubeDL.py [outtmpl] Change filename sanitization type to S 2021-12-23 09:15:05 +05:30