]> git.mxchange.org Git - friendica.git/commitdiff
And another weird date format
authorMichael <heluecht@pirati.ca>
Fri, 7 Oct 2022 19:56:02 +0000 (19:56 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 7 Oct 2022 19:56:02 +0000 (19:56 +0000)
src/Util/DateTimeFormat.php

index 45ed477fa7ee3e06ee1562c7ff78304a9f151fc1..5dfb0d6d17390d954a780e38878d8ff79816dd8b 100644 (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+)&#x2B;(\d+:\d+)~', '$1T$2+$3'],
                ];
 
                foreach ($patterns as $pattern) {