Browse Source

Add one more format in unified_strdate

totalwebcasting
Sergey M. 11 years ago
parent
commit
0f99566c01
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/utils.py

+ 1
- 0
youtube_dl/utils.py 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',


Loading…
Cancel
Save