commit 0f99566c01d0cebc4553836f5159bccb04c2907c
parent 2db806b4aa0047002cf4c8b1ce6e3dd79ab8ee69
Author: Sergey M <dstftw@gmail.com>
Date: Mon, 17 Feb 2014 03:47:03 +0700
Add one more format in unified_strdate
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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',