aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-01-12 22:39:45 +0700
committerSergey M․ <dstftw@gmail.com>2017-01-12 22:39:45 +0700
commitcb655f34fbbd741f18e22cb8ec0cae1c4c3bfebe (patch)
tree563fb88ff95185c0015c62c222cd566a2d695356 /youtube_dl
parented06da4e7b274fd444a6ada23ba9bb4c559761d3 (diff)
[utils] Add more date formats
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/utils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 39dd6c49f..12863e74a 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -128,7 +128,13 @@ DATE_FORMATS = (
'%d %B %Y',
'%d %b %Y',
'%B %d %Y',
+ '%B %dst %Y',
+ '%B %dnd %Y',
+ '%B %dth %Y',
'%b %d %Y',
+ '%b %dst %Y',
+ '%b %dnd %Y',
+ '%b %dth %Y',
'%b %dst %Y %I:%M',
'%b %dnd %Y %I:%M',
'%b %dth %Y %I:%M',