projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db806b
)
Add one more format in unified_strdate
author
Sergey M.
<dstftw@gmail.com>
Sun, 16 Feb 2014 20:47:03 +0000
(
03:47
+0700)
committer
Sergey M.
<dstftw@gmail.com>
Sun, 16 Feb 2014 20:47:03 +0000
(
03:47
+0700)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index a192a420ac5b8311d6a27298b6d8ecaf6e6398df..057cd20d1d70977dd9e56e3d857907a648b228c8 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-762,6
+762,7
@@
def unified_strdate(date_str):
date_str = re.sub(r' ?(\+|-)[0-9]{2}:?[0-9]{2}$', '', date_str)
format_expressions = [
'%d %B %Y',
+ '%d %b %Y',
'%B %d %Y',
'%b %d %Y',
'%Y-%m-%d',