Selaa lähdekoodia

[utils] Add another date format seen in NextTV

Yen Chi Hsuan 8 vuotta sitten
vanhempi
sitoutus
0c1c6f4b9f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      youtube_dl/utils.py

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