浏览代码

[utils] Add additional format to unified_strdate

Naglis Jonaitis 11 年之前
父节点
当前提交
e9be9a6acd
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube_dl/utils.py

+ 1 - 0
youtube_dl/utils.py

@@ -894,6 +894,7 @@ def unified_strdate(date_str):
         '%Y/%m/%d %H:%M:%S',
         '%d/%m/%Y %H:%M:%S',
         '%Y-%m-%d %H:%M:%S',
+        '%Y-%m-%d %H:%M:%S.%f',
         '%d.%m.%Y %H:%M',
         '%d.%m.%Y %H.%M',
         '%Y-%m-%dT%H:%M:%SZ',