Commit 0fa5230c by David Renty

Removed debug code, changed doc

parent cb3eb9c6
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment