diff options
author | Sergey M. <dstftw@gmail.com> | 2014-02-17 03:47:03 +0700 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2014-02-17 03:47:03 +0700 |
commit | 0f99566c01d0cebc4553836f5159bccb04c2907c (patch) | |
tree | 3eae79352e610b49a5407612898282c449f3b47d /youtube_dl/utils.py | |
parent | 2db806b4aa0047002cf4c8b1ce6e3dd79ab8ee69 (diff) |
Add one more format in unified_strdate
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index a192a420a..057cd20d1 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -762,6 +762,7 @@ def unified_strdate(date_str): date_str = re.sub(r' ?(\+|-)[0-9]{2}:?[0-9]{2}$', '', date_str) format_expressions = [ '%d %B %Y', + '%d %b %Y', '%B %d %Y', '%b %d %Y', '%Y-%m-%d', |