Mailbox update

This commit is contained in:
Torsten Schulz
2023-06-16 14:00:45 +02:00
parent b8daf4f1e4
commit 52c5b48546

View File

@@ -28,7 +28,7 @@ class Emailinbox extends Renderer {
$headers = $this->mbox->getMailsInfo($mailsIds);
foreach ($headers as $header) {
try {
$date = \DateTime::createFromFormat('D, d M Y H:i:s O', str_replace([' (CET)', ' [ CEST]',], '' , $header->date));
$date = \DateTime::createFromFormat('D, d M Y H:i:s O', str_replace([' (CET)', ' (CEST)',], '' , $header->date));
if (!$date) {
var_dump($header->date);
}