Skip to content

Commit

Permalink
Remove the time from the mail, keep the date
Browse files Browse the repository at this point in the history
  • Loading branch information
jvillafanez committed Aug 30, 2022
1 parent 5de38bc commit 7cc1833
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/MailQueueHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit 7cc1833

Please sign in to comment.