diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-08-10 11:36:49 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-08-10 11:37:23 +0800 |
commit | 81c13222c6418b72e0d5e11ed37700e984c4de43 (patch) | |
tree | 8355676c43ce577e0d27aa5ecbc9ed7779ecc02e | |
parent | b1ce2ba1978142c75418ead4b91ea6138bb37a16 (diff) |
[utils] Recognize more formats in unified_timestamp
Used in CtsNews
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | youtube_dl/utils.py | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +version <unreleased> + +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', |