Correctly inject the language into the subcall

This commit is contained in:
Joas Schilling 2014-12-12 11:00:07 +01:00
parent e969fe6b12
commit 811f9251d6
1 changed files with 1 additions and 1 deletions

View File

@ -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) {