Merge pull request #12807 from owncloud/fix-timespan-language

Correctly inject the language into the subcall
remotes/origin/fix-10825
Joas Schilling 2014-12-12 11:57:22 +07:00
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) {