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 );