From 81c13222c6418b72e0d5e11ed37700e984c4de43 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Wed, 10 Aug 2016 11:36:49 +0800 Subject: [PATCH] [utils] Recognize more formats in unified_timestamp Used in CtsNews --- ChangeLog | 6 ++++++ youtube_dl/utils.py | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index ac9e78a8d..cd59a87a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +version + +Core ++ Recognize more formats in unified_timestamp + + version 2016.08.10 Core 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',