From 7cc183367603037d05fc745cc0e70fa8ba427d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Pablo=20Villaf=C3=A1=C3=B1ez?= Date: Tue, 5 Jul 2022 10:42:24 +0200 Subject: [PATCH] Remove the time from the mail, keep the date --- lib/MailQueueHandler.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/MailQueueHandler.php b/lib/MailQueueHandler.php index dcf5c1ab..0c970811 100644 --- a/lib/MailQueueHandler.php +++ b/lib/MailQueueHandler.php @@ -254,10 +254,9 @@ protected function sendMail($user, $email, $lang, $timezone, $mailData, $skipped ->setTimestamp($activity['amq_timestamp']) ->setSubject($activity['amq_subject'], []); - $relativeDateTime = $this->dateFormatter->formatDateTimeRelativeDay( + $relativeDateTime = $this->dateFormatter->formatDateRelativeDay( $activity['amq_timestamp'], 'long', - 'medium', new \DateTimeZone($timezone), $l );