Browse Source

Merge pull request #14256 from brandonkelly/patch-7

Fixed Formatter::normalizeDatetimeValue() docs
tags/2.0.13
Dmitry Naumenko 7 years ago committed by GitHub
parent
commit
cf9787ddef
  1. 2
      framework/i18n/Formatter.php

2
framework/i18n/Formatter.php

@ -656,7 +656,7 @@ class Formatter extends Component
* whether the timestamp has date information. * whether the timestamp has date information.
* This parameter is available since version 2.0.1. * This parameter is available since version 2.0.1.
* @return DateTime|array the normalized datetime value. * @return DateTime|array the normalized datetime value.
* Since version 2.0.1 this may also return an array if `$checkTimeInfo` is true. * Since version 2.0.1 this may also return an array if `$checkDateTimeInfo` is true.
* The first element of the array is the normalized timestamp and the second is a boolean indicating whether * The first element of the array is the normalized timestamp and the second is a boolean indicating whether
* the timestamp has time information or it is just a date value. * the timestamp has time information or it is just a date value.
* Since version 2.0.12 the array has third boolean element indicating whether the timestamp has date information * Since version 2.0.12 the array has third boolean element indicating whether the timestamp has date information

Loading…
Cancel
Save