aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/datetimeformatter.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-12-12 11:00:07 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-12-12 11:00:07 +0100
commit811f9251d638c3e23d1d2f1d79afe91ef1975a7e (patch)
treed05b3cdcc20e5c2bde887ab94598e4ddd4b09431 /lib/private/datetimeformatter.php
parente969fe6b1222467349929523ea92192ca23f92d5 (diff)
downloadnextcloud-server-811f9251d638c3e23d1d2f1d79afe91ef1975a7e.tar.gz
nextcloud-server-811f9251d638c3e23d1d2f1d79afe91ef1975a7e.zip
Correctly inject the language into the subcall
Diffstat (limited to 'lib/private/datetimeformatter.php')
-rw-r--r--lib/private/datetimeformatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/datetimeformatter.php b/lib/private/datetimeformatter.php
index 75e41259849..11c62f27083 100644
--- a/lib/private/datetimeformatter.php
+++ b/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) {