mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-03 20:42:49 -05:00
[utils] Handle rd-suffixed day parts in unified_strdate (#23199)
This commit is contained in:

committed by
Sergey M

parent
cf3c9eafad
commit
9d30c2132a
@ -1718,13 +1718,16 @@ DATE_FORMATS = (
|
||||
'%B %d %Y',
|
||||
'%B %dst %Y',
|
||||
'%B %dnd %Y',
|
||||
'%B %drd %Y',
|
||||
'%B %dth %Y',
|
||||
'%b %d %Y',
|
||||
'%b %dst %Y',
|
||||
'%b %dnd %Y',
|
||||
'%b %drd %Y',
|
||||
'%b %dth %Y',
|
||||
'%b %dst %Y %I:%M',
|
||||
'%b %dnd %Y %I:%M',
|
||||
'%b %drd %Y %I:%M',
|
||||
'%b %dth %Y %I:%M',
|
||||
'%Y %m %d',
|
||||
'%Y-%m-%d',
|
||||
|
Reference in New Issue
Block a user