aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-08-10 11:36:49 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-08-10 11:37:23 +0800
commit81c13222c6418b72e0d5e11ed37700e984c4de43 (patch)
tree8355676c43ce577e0d27aa5ecbc9ed7779ecc02e /youtube_dl/utils.py
parentb1ce2ba1978142c75418ead4b91ea6138bb37a16 (diff)
[utils] Recognize more formats in unified_timestamp
Used in CtsNews
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index c50238ba1..a03f7184d 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -122,6 +122,7 @@ DATE_FORMATS = (
'%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.%f',