projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d119c2
)
[utils] Add another date format seen in NextTV
author
Yen Chi Hsuan
<yan12125@gmail.com>
Mon, 23 Jan 2017 15:31:43 +0000
(23:31 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Mon, 23 Jan 2017 15:37:32 +0000
(23:37 +0800)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 12863e74acd51b3f6b3ec6467f23f76227d0f18f..98acc2b459a2bf80e79d657e143e877e99472744 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-143,6
+143,7
@@
DATE_FORMATS = (
'%Y/%m/%d',
'%Y/%m/%d %H:%M',
'%Y/%m/%d %H:%M:%S',
+ '%Y-%m-%d %H:%M',
'%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S.%f',
'%d.%m.%Y %H:%M',