From d28ccad18fd226d1c6b6f464c82f9a4e4cd25fc5 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Fri, 16 Jun 2023 14:01:47 +0200 Subject: [PATCH] Mailbox update --- include/emailinbox.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/emailinbox.php b/include/emailinbox.php index 05c23fc..8687466 100644 --- a/include/emailinbox.php +++ b/include/emailinbox.php @@ -29,9 +29,9 @@ class Emailinbox extends Renderer { foreach ($headers as $header) { try { $date = \DateTime::createFromFormat('D, d M Y H:i:s O', str_replace([' (CET)', ' (CEST)', ' (UTC)'], '' , $header->date)); - if (!$date) { - var_dump($header->date); - } + // if (!$date) { + // var_dump($header->date); + // } $date = $date ? $date->setTimezone(new DateTimeZone('Europe/Berlin')) : new DateTime(); $cleanedHeaders[trim($header->msgno)] = [ 'title' => $header->subject,