소스 검색

Add one more format to unified_strdate

Sergey M. 11 년 전
부모
커밋
7ff5d5c2e2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      youtube_dl/utils.py

+ 1 - 0
youtube_dl/utils.py

@@ -779,6 +779,7 @@ def unified_strdate(date_str):
         '%Y-%m-%dT%H:%M:%S.%fZ',
         '%Y-%m-%dT%H:%M:%S.%fZ',
         '%Y-%m-%dT%H:%M:%S.%f0Z',
         '%Y-%m-%dT%H:%M:%S.%f0Z',
         '%Y-%m-%dT%H:%M:%S',
         '%Y-%m-%dT%H:%M:%S',
+        '%Y-%m-%dT%H:%M:%S.%f',
         '%Y-%m-%dT%H:%M',
         '%Y-%m-%dT%H:%M',
     ]
     ]
     for expression in format_expressions:
     for expression in format_expressions: