projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f47754f
)
[utils] Add additional format to unified_strdate
author
Naglis Jonaitis
<njonaitis@gmail.com>
Sat, 4 Oct 2014 19:38:23 +0000
(22:38 +0300)
committer
Naglis Jonaitis
<njonaitis@gmail.com>
Sat, 4 Oct 2014 19:38:23 +0000
(22:38 +0300)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 2c9081733c10712ebdec4d08dd4b2ff2ec88f629..d7ae5a90a8480f6c825303039b357ff53e7f8d56 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
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',