Skip to content

Commit d466db0

Browse files
authored
Merge pull request #1118 from owncloud/remove_time_from_mail
Remove the time from the mail, keep the date
2 parents 5de38bc + 7cc1833 commit d466db0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/MailQueueHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,9 @@ protected function sendMail($user, $email, $lang, $timezone, $mailData, $skipped
254254
->setTimestamp($activity['amq_timestamp'])
255255
->setSubject($activity['amq_subject'], []);
256256

257-
$relativeDateTime = $this->dateFormatter->formatDateTimeRelativeDay(
257+
$relativeDateTime = $this->dateFormatter->formatDateRelativeDay(
258258
$activity['amq_timestamp'],
259259
'long',
260-
'medium',
261260
new \DateTimeZone($timezone),
262261
$l
263262
);

0 commit comments

Comments
 (0)