From: Sergey M. Date: Sun, 16 Feb 2014 20:47:03 +0000 (+0700) Subject: Add one more format in unified_strdate X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=0f99566c01d0cebc4553836f5159bccb04c2907c;p=youtube-dl.git Add one more format in unified_strdate --- 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',