summaryrefslogtreecommitdiffstats
path: root/lib/private/datetimeformatter.php
diff options
context:
space:
mode:
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 127e694bd88..75e41259849 100644
--- a/lib/private/datetimeformatter.php
+++ b/lib/private/datetimeformatter.php
@@ -157,7 +157,7 @@ class DateTimeFormatter implements \OCP\IDateTimeFormatter {
} else if ($dateInterval->y == 1) {
return (string) $l->t('last year');
}
- return (string) $l->n('%n year go', '%n years ago', $dateInterval->y);
+ return (string) $l->n('%n year ago', '%n years ago', $dateInterval->y);
}
/**