aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorInfernalUnderling <[email protected]>2019-11-26 17:08:37 +0000
committerSergey M <[email protected]>2019-11-27 00:08:37 +0700
commit9d30c2132acf2d12bfa8e559987c341c76d9cd24 (patch)
treeba8254c5601399d3ac36a35705c78c454bee75b1 /youtube_dl/utils.py
parentcf3c9eafad5e6b83788e15a605aa6804b1ab307c (diff)
downloadyoutube-dl-9d30c2132acf2d12bfa8e559987c341c76d9cd24.tar.gz
youtube-dl-9d30c2132acf2d12bfa8e559987c341c76d9cd24.zip
[utils] Handle rd-suffixed day parts in unified_strdate (#23199)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index aed988b88..0d30075aa 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -1718,13 +1718,16 @@ DATE_FORMATS = (
'%B %d %Y',
'%B %dst %Y',
'%B %dnd %Y',
+ '%B %drd %Y',
'%B %dth %Y',
'%b %d %Y',
'%b %dst %Y',
'%b %dnd %Y',
+ '%b %drd %Y',
'%b %dth %Y',
'%b %dst %Y %I:%M',
'%b %dnd %Y %I:%M',
+ '%b %drd %Y %I:%M',
'%b %dth %Y %I:%M',
'%Y %m %d',
'%Y-%m-%d',