Skip to content

Commit

Permalink
Update docs for TimeHelper
Browse files Browse the repository at this point in the history
Refs #6137
  • Loading branch information
markstory committed May 1, 2015
1 parent bec59e5 commit 6528df6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/View/Helper/TimeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,10 @@ public function gmt($string = null)
}

/**
* Returns a formatted date string, given either a UNIX timestamp or a valid strtotime() date string.
* Returns a formatted date string, given either a Time instance,
* UNIX timestamp or a valid strtotime() date string.
*
* This function also accepts a time string and a format string as first and second parameters.
* In that case this function behaves as a wrapper for Time::i18nFormat()
* This method is an alias for TimeHelper::i18nFormat().
*
* @param int|string|\DateTime $date UNIX timestamp, strtotime() valid string or DateTime object (or a date format string)
* @param int|string|null $format date format string (or a UNIX timestamp, strtotime() valid string or DateTime object)
Expand Down

0 comments on commit 6528df6

Please sign in to comment.