Correctly inject the language into the subcall
This commit is contained in:
parent
e969fe6b12
commit
811f9251d6
|
@ -203,7 +203,7 @@ class DateTimeFormatter implements \OCP\IDateTimeFormatter {
|
||||||
|
|
||||||
$diff = $timestamp->diff($baseTimestamp);
|
$diff = $timestamp->diff($baseTimestamp);
|
||||||
if ($diff->y > 0 || $diff->m > 0 || $diff->d > 0) {
|
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) {
|
if ($diff->h > 0) {
|
||||||
|
|
Loading…
Reference in New Issue