Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
01c20996
Commit
01c20996
authored
May 28, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:yiisoft/yii2
parents
2553e9a0
07011a25
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
Formatter.php
framework/yii/base/Formatter.php
+6
-6
Formatter.php
framework/yii/i18n/Formatter.php
+3
-3
No files found.
framework/yii/base/Formatter.php
View file @
01c20996
...
@@ -162,12 +162,12 @@ class Formatter extends Component
...
@@ -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
...
@@ -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
...
@@ -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
...
...
framework/yii/i18n/Formatter.php
View file @
01c20996
...
@@ -76,7 +76,7 @@ class Formatter extends \yii\base\Formatter
...
@@ -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
...
@@ -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
...
@@ -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
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment