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

Correctly inject the language into the subcall
remotes/origin/fix-10825
Joas Schilling 12 years ago
commit 7542883bf8
  1. 2
      lib/private/datetimeformatter.php

@ -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…
Cancel
Save