1
1
Fork 0

Merge pull request from annando/date-correction

Juts another date format fix
This commit is contained in:
Hypolite Petovan 2022-10-06 17:39:44 -04:00 committed by GitHub
commit fe442683ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -189,6 +189,7 @@ class DateTimeFormat
['#(\d+-\d+-\d+)T(\d+:\d+:\d+\.\d+)ZZ#', '$1T$2Z'],
['#(\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'],
];
foreach ($patterns as $pattern) {