Skip to content

Commit

Permalink
Merge pull request #1118 from owncloud/remove_time_from_mail
Browse files Browse the repository at this point in the history
Remove the time from the mail, keep the date
  • Loading branch information
jnweiger authored Aug 30, 2022
2 parents 5de38bc + 7cc1833 commit d466db0
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 d466db0

Please sign in to comment.