1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-24 15:50:26 +01:00

Add one more format in unified_strdate

This commit is contained in:
Sergey M. 2014-02-17 03:47:03 +07:00
parent 2db806b4aa
commit 0f99566c01

View File

@ -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',