1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-22 08:55:34 +08:00

Add one more format to unified_strdate

This commit is contained in:
Sergey M. 2014-02-23 19:00:51 +07:00
parent 9b77f951c7
commit 7ff5d5c2e2

View File

@ -779,6 +779,7 @@ def unified_strdate(date_str):
'%Y-%m-%dT%H:%M:%S.%fZ', '%Y-%m-%dT%H:%M:%S.%fZ',
'%Y-%m-%dT%H:%M:%S.%f0Z', '%Y-%m-%dT%H:%M:%S.%f0Z',
'%Y-%m-%dT%H:%M:%S', '%Y-%m-%dT%H:%M:%S',
'%Y-%m-%dT%H:%M:%S.%f',
'%Y-%m-%dT%H:%M', '%Y-%m-%dT%H:%M',
] ]
for expression in format_expressions: for expression in format_expressions: