1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-14 13:27:27 +00: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: