Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

typo fix and upgrade note

  • Loading branch information...
commit 2dfab9719909dd4a285b9647154eb974c276a37e 1 parent 9f0ae8a
@mdomba mdomba authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  UPGRADE
  2. +1 −1  framework/i18n/CDateFormatter.php
View
2  UPGRADE
@@ -30,6 +30,8 @@ Upgrading from v1.1.10
parent::afterAction($action,$params,$exitCode);
+- CDateFormat::format() now will return null if the parameter $time is null. Previously it would return 1/1/1970.
+
Upgrading from v1.1.9
---------------------
- Previously xSendFile() was returning false if the file was not found.
View
2  framework/i18n/CDateFormatter.php
@@ -82,7 +82,7 @@ public function __construct($locale)
* Formats a date according to a customized pattern.
* @param string $pattern the pattern (See {@link http://www.unicode.org/reports/tr35/#Date_Format_Patterns})
* @param mixed $time UNIX timestamp or a string in strtotime format
- * @return string formatted date time. Null if $time is null. (the null valuie check is available since Yii 1.1.11)
+ * @return string formatted date time. Null if $time is null. (the null value check is available since Yii 1.1.11)
*/
public function format($pattern,$time)
{
Please sign in to comment.
Something went wrong with that request. Please try again.