1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-02-03 21:57:34 +01:00
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
..
2021-12-23 07:12:46 +05:30
2021-11-19 07:24:10 +05:30
2021-12-19 20:48:06 +05:30
2021-12-23 07:12:46 +05:30
2021-12-01 00:23:24 +00:00