mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #12807 from owncloud/fix-timespan-language
Correctly inject the language into the subcall
This commit is contained in:
commit
7542883bf8
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class DateTimeFormatter implements \OCP\IDateTimeFormatter {
|
|||
|
||||
$diff = $timestamp->diff($baseTimestamp);
|
||||
if ($diff->y > 0 || $diff->m > 0 || $diff->d > 0) {
|
||||
return (string) $this->formatDateSpan($timestamp, $baseTimestamp);
|
||||
return (string) $this->formatDateSpan($timestamp, $baseTimestamp, $l);
|
||||
}
|
||||
|
||||
if ($diff->h > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue