Browse Source

[utils] Recognize more formats in unified_timestamp

Used in CtsNews
Yen Chi Hsuan 9 years ago
parent
commit
81c13222c6
2 changed files with 7 additions and 0 deletions
  1. 6 0
      ChangeLog
  2. 1 0
      youtube_dl/utils.py

+ 6 - 0
ChangeLog

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

+ 1 - 0
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',