1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[utils] Recognize more formats in unified_timestamp

Used in CtsNews
This commit is contained in:
Yen Chi Hsuan 2016-08-10 11:36:49 +08:00
parent b1ce2ba197
commit 81c13222c6
No known key found for this signature in database
GPG key ID: 3FDDD575826C5C30
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
version <unreleased>
Core
+ Recognize more formats in unified_timestamp
version 2016.08.10 version 2016.08.10
Core Core

View file

@ -122,6 +122,7 @@ DATE_FORMATS = (
'%Y %m %d', '%Y %m %d',
'%Y-%m-%d', '%Y-%m-%d',
'%Y/%m/%d', '%Y/%m/%d',
'%Y/%m/%d %H:%M',
'%Y/%m/%d %H:%M:%S', '%Y/%m/%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M:%S.%f',