mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 14:29:30 +08:00
Merge branch 'master' of github.com:yiisoft/yii2
This commit is contained in:
@@ -162,12 +162,12 @@ class Formatter extends Component
|
|||||||
* @param integer|string|DateTime $value the value to be formatted. The following
|
* @param integer|string|DateTime $value the value to be formatted. The following
|
||||||
* types of value are supported:
|
* types of value are supported:
|
||||||
*
|
*
|
||||||
* - an integer representing UNIX timestamp
|
* - an integer representing a UNIX timestamp
|
||||||
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
||||||
* - a PHP DateTime object
|
* - a PHP DateTime object
|
||||||
*
|
*
|
||||||
* @param string $format the format used to convert the value into a date string.
|
* @param string $format the format used to convert the value into a date string.
|
||||||
* If null, [[dateFormat]] will be used. The format string should be the one
|
* If null, [[dateFormat]] will be used. The format string should be one
|
||||||
* that can be recognized by the PHP `date()` function.
|
* that can be recognized by the PHP `date()` function.
|
||||||
* @return string the formatted result
|
* @return string the formatted result
|
||||||
* @see dateFormat
|
* @see dateFormat
|
||||||
@@ -183,12 +183,12 @@ class Formatter extends Component
|
|||||||
* @param integer|string|DateTime $value the value to be formatted. The following
|
* @param integer|string|DateTime $value the value to be formatted. The following
|
||||||
* types of value are supported:
|
* types of value are supported:
|
||||||
*
|
*
|
||||||
* - an integer representing UNIX timestamp
|
* - an integer representing a UNIX timestamp
|
||||||
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
||||||
* - a PHP DateTime object
|
* - a PHP DateTime object
|
||||||
*
|
*
|
||||||
* @param string $format the format used to convert the value into a date string.
|
* @param string $format the format used to convert the value into a date string.
|
||||||
* If null, [[timeFormat]] will be used. The format string should be the one
|
* If null, [[timeFormat]] will be used. The format string should be one
|
||||||
* that can be recognized by the PHP `date()` function.
|
* that can be recognized by the PHP `date()` function.
|
||||||
* @return string the formatted result
|
* @return string the formatted result
|
||||||
* @see timeFormat
|
* @see timeFormat
|
||||||
@@ -204,12 +204,12 @@ class Formatter extends Component
|
|||||||
* @param integer|string|DateTime $value the value to be formatted. The following
|
* @param integer|string|DateTime $value the value to be formatted. The following
|
||||||
* types of value are supported:
|
* types of value are supported:
|
||||||
*
|
*
|
||||||
* - an integer representing UNIX timestamp
|
* - an integer representing a UNIX timestamp
|
||||||
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
||||||
* - a PHP DateTime object
|
* - a PHP DateTime object
|
||||||
*
|
*
|
||||||
* @param string $format the format used to convert the value into a date string.
|
* @param string $format the format used to convert the value into a date string.
|
||||||
* If null, [[datetimeFormat]] will be used. The format string should be the one
|
* If null, [[datetimeFormat]] will be used. The format string should be one
|
||||||
* that can be recognized by the PHP `date()` function.
|
* that can be recognized by the PHP `date()` function.
|
||||||
* @return string the formatted result
|
* @return string the formatted result
|
||||||
* @see datetimeFormat
|
* @see datetimeFormat
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ class Formatter extends \yii\base\Formatter
|
|||||||
* @param integer|string|DateTime $value the value to be formatted. The following
|
* @param integer|string|DateTime $value the value to be formatted. The following
|
||||||
* types of value are supported:
|
* types of value are supported:
|
||||||
*
|
*
|
||||||
* - an integer representing UNIX timestamp
|
* - an integer representing a UNIX timestamp
|
||||||
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
||||||
* - a PHP DateTime object
|
* - a PHP DateTime object
|
||||||
*
|
*
|
||||||
@@ -106,7 +106,7 @@ class Formatter extends \yii\base\Formatter
|
|||||||
* @param integer|string|DateTime $value the value to be formatted. The following
|
* @param integer|string|DateTime $value the value to be formatted. The following
|
||||||
* types of value are supported:
|
* types of value are supported:
|
||||||
*
|
*
|
||||||
* - an integer representing UNIX timestamp
|
* - an integer representing a UNIX timestamp
|
||||||
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
||||||
* - a PHP DateTime object
|
* - a PHP DateTime object
|
||||||
*
|
*
|
||||||
@@ -136,7 +136,7 @@ class Formatter extends \yii\base\Formatter
|
|||||||
* @param integer|string|DateTime $value the value to be formatted. The following
|
* @param integer|string|DateTime $value the value to be formatted. The following
|
||||||
* types of value are supported:
|
* types of value are supported:
|
||||||
*
|
*
|
||||||
* - an integer representing UNIX timestamp
|
* - an integer representing a UNIX timestamp
|
||||||
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
* - a string that can be parsed into a UNIX timestamp via `strtotime()`
|
||||||
* - a PHP DateTime object
|
* - a PHP DateTime object
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user