Merge pull request #11971 from annando/dateformat

And another weird date format
This commit is contained in:
Hypolite Petovan 2022-10-07 17:04:12 -04:00 committed by GitHub
commit 616c4695f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,7 @@ class DateTimeFormat
['#(\w+), (\d+ \w+ \d+) (\d+:\d+:\d+) (.+)#', '$2 $3 $4'],
['#(\d+:\d+) (\w+), (\w+) (\d+), (\d+)#', '$1 $2 $3 $4 $5'],
['#(\w+ \d+, \d+) - (\d+:\d+)#', '$1, $2'],
['~(\d+-\d+-\d+)T(\d+:\d+:\d+)+(\d+:\d+)~', '$1T$2+$3'],
];
foreach ($patterns as $pattern) {