mirror of
https://github.com/friendica/friendica
synced 2024-12-22 19:20:17 +00:00
Merge pull request #11971 from annando/dateformat
And another weird date format
This commit is contained in:
commit
616c4695f4
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue