[utils] Handle rd-suffixed day parts in unified_strdate (#23199)
This commit is contained in:
parent
cf3c9eafad
commit
9d30c2132a
2 changed files with 5 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue