This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
Add one more format in unified_strdate
totalwebcasting
Sergey M.
11 years ago
parent
2db806b4aa
commit
0f99566c01
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
youtube_dl/utils.py
+ 1
- 0
youtube_dl/utils.py
View File
@ -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
'
,
Write
Preview
Loading…
Cancel
Save