projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c418f
)
[utils] Add one more template to unified_strdate
author
Sergey M․
<dstftw@gmail.com>
Sat, 4 Apr 2015 12:45:46 +0000
(18:45 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 4 Apr 2015 12:45:46 +0000
(18:45 +0600)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index e1761265c9fe1e02d2ad7989f05aa7f61b2e7832..be3f62da702b86376c65f17a45c1e16545a83af2 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-759,6
+759,7
@@
def unified_strdate(date_str, day_first=True):
]
if day_first:
format_expressions.extend([
+ '%d-%m-%Y',
'%d.%m.%Y',
'%d/%m/%Y',
'%d/%m/%y',
@@
-766,6
+767,7
@@
def unified_strdate(date_str, day_first=True):
])
else:
format_expressions.extend([
+ '%m-%d-%Y',
'%m.%d.%Y',
'%m/%d/%Y',
'%m/%d/%y',