Merge pull request #11971 from annando/dateformat
And another weird date format
This commit is contained in:
commit
616c4695f4
|
@ -190,6 +190,7 @@ class DateTimeFormat
|
||||||
['#(\w+), (\d+ \w+ \d+) (\d+:\d+:\d+) (.+)#', '$2 $3 $4'],
|
['#(\w+), (\d+ \w+ \d+) (\d+:\d+:\d+) (.+)#', '$2 $3 $4'],
|
||||||
['#(\d+:\d+) (\w+), (\w+) (\d+), (\d+)#', '$1 $2 $3 $4 $5'],
|
['#(\d+:\d+) (\w+), (\w+) (\d+), (\d+)#', '$1 $2 $3 $4 $5'],
|
||||||
['#(\w+ \d+, \d+) - (\d+:\d+)#', '$1, $2'],
|
['#(\w+ \d+, \d+) - (\d+:\d+)#', '$1, $2'],
|
||||||
|
['~(\d+-\d+-\d+)T(\d+:\d+:\d+)+(\d+:\d+)~', '$1T$2+$3'],
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($patterns as $pattern) {
|
foreach ($patterns as $pattern) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user