From 0fa5230cd062ebe2653dbf759b6afcd8092fc380 Mon Sep 17 00:00:00 2001 From: David Renty Date: Fri, 14 Mar 2014 18:37:11 +0100 Subject: [PATCH] Removed debug code, changed doc --- framework/base/Formatter.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/base/Formatter.php b/framework/base/Formatter.php index d4e4f092a2..c23d43b026 100644 --- a/framework/base/Formatter.php +++ b/framework/base/Formatter.php @@ -457,7 +457,7 @@ class Formatter extends Component } /** - * Formats the value as the time elapsed since then in human readable form. + * Formats the value as the time interval between a date and now in human readable form. * @param integer|string|DateTime|DateInterval $value the value to be formatted. The following * types of value are supported: * @@ -503,8 +503,6 @@ class Formatter extends Component $dateThen->setTimestamp($timestamp); $interval = $dateThen->diff($dateNow); - var_dump($dateThen); - var_dump($dateNow); } }