diff --git a/lib/Cake/Utility/CakeTime.php b/lib/Cake/Utility/CakeTime.php index ab0046176..cc2db9568 100644 --- a/lib/Cake/Utility/CakeTime.php +++ b/lib/Cake/Utility/CakeTime.php @@ -917,11 +917,10 @@ class CakeTime { ); // When time has passed + if (!$backwards && $relativeDate) { + return sprintf($relativeString, $relativeDate); + } if (!$backwards) { - if ($relativeDate) { - return __d('cake', '%s ago', $relativeDate); - } - return $aboutAgo[$fWord]; }