Skip to content

Commit

Permalink
Merge pull request yiisoft#10027 from yiijan/typo-fix-in-doc
Browse files Browse the repository at this point in the history
typo fixed [ci skip]
  • Loading branch information
samdark committed Oct 27, 2015
2 parents 3876253 + a503c6c commit 14f64b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/output-formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The formatter supports the following output formats that are related with date a
- [[yii\i18n\Formatter::asTimestamp()|timestamp]]: the value is formatted as a [unix timestamp](http://en.wikipedia.org/wiki/Unix_time), e.g. `1412609982`.
- [[yii\i18n\Formatter::asRelativeTime()|relativeTime]]: the value is formatted as the time interval between a date
and now in human readable form e.g. `1 hour ago`.
- [[yii\i18n\Formatter::asDuration()|duration]]: the value is formatted duration in human readable format. e.g. `1 day, 2 minutes`.
- [[yii\i18n\Formatter::asDuration()|duration]]: the value is formatted as a duration in human readable format. e.g. `1 day, 2 minutes`.

The default date and time formats used for the [[yii\i18n\Formatter::asDate()|date]], [[yii\i18n\Formatter::asTime()|time]],
and [[yii\i18n\Formatter::asDatetime()|datetime]] methods can be customized globally by configuring
Expand Down

0 comments on commit 14f64b6

Please sign in to comment.