diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-09-29 23:47:25 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-09-29 23:52:29 +0700 |
commit | c6eed6b8c000672f0515d916dda54002c7fca356 (patch) | |
tree | f847a5760e501f24fa0247c5a824cc86d9b2ad6c /youtube_dl/utils.py | |
parent | 3aa3953d28dae68b87aa83682043b5eec0973ddc (diff) |
[utils] Lower priority for rare date formats and add tests
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 243d09034..d2dfa8013 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -124,8 +124,6 @@ DATE_FORMATS = ( '%d %b %Y', '%B %d %Y', '%b %d %Y', - '%b %d %Y at %H:%M', - '%b %d %Y at %H:%M:%S', '%b %dst %Y %I:%M', '%b %dnd %Y %I:%M', '%b %dth %Y %I:%M', @@ -144,6 +142,8 @@ DATE_FORMATS = ( '%Y-%m-%dT%H:%M:%S', '%Y-%m-%dT%H:%M:%S.%f', '%Y-%m-%dT%H:%M', + '%b %d %Y at %H:%M', + '%b %d %Y at %H:%M:%S', ) DATE_FORMATS_DAY_FIRST = list(DATE_FORMATS) |