summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-17 03:47:03 +0700
committerSergey M. <dstftw@gmail.com>2014-02-17 03:47:03 +0700
commit0f99566c01d0cebc4553836f5159bccb04c2907c (patch)
tree3eae79352e610b49a5407612898282c449f3b47d
parent2db806b4aa0047002cf4c8b1ce6e3dd79ab8ee69 (diff)
downloadyoutube-dl-0f99566c01d0cebc4553836f5159bccb04c2907c.tar.gz
youtube-dl-0f99566c01d0cebc4553836f5159bccb04c2907c.tar.xz
youtube-dl-0f99566c01d0cebc4553836f5159bccb04c2907c.zip
Add one more format in unified_strdate
-rw-r--r--youtube_dl/utils.py1
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',