summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-01-10 19:35:57 +0100
committerGreg Aker <greg.aker@ellislab.com>2011-01-10 19:35:57 +0100
commit3b889a970adbfc3ca015803f80a2a45066abcbd9 (patch)
treec99ca63adb4e7507b32f497b6061bccaa2f7b10c
parent3ef0d283693178ceec9e9e4fb6b0d22538c3af34 (diff)
Fixed a bug (#14628) where the DATE_ISO8601 variable was returning an incorrectly formatted date string.
-rw-r--r--system/helpers/date_helper.php2
-rw-r--r--user_guide/changelog.html1
-rw-r--r--user_guide/helpers/date_helper.html2
3 files changed, 3 insertions, 2 deletions
diff --git a/system/helpers/date_helper.php b/system/helpers/date_helper.php
index d328a7b17..553e8d7ee 100644
--- a/system/helpers/date_helper.php
+++ b/system/helpers/date_helper.php
@@ -114,7 +114,7 @@ if ( ! function_exists('standard_date'))
$formats = array(
'DATE_ATOM' => '%Y-%m-%dT%H:%i:%s%Q',
'DATE_COOKIE' => '%l, %d-%M-%y %H:%i:%s UTC',
- 'DATE_ISO8601' => '%Y-%m-%dT%H:%i:%s%O',
+ 'DATE_ISO8601' => '%Y-%m-%dT%H:%i:%s%Q',
'DATE_RFC822' => '%D, %d %M %y %H:%i:%s %O',
'DATE_RFC850' => '%l, %d-%M-%y %H:%m:%i UTC',
'DATE_RFC1036' => '%D, %d %M %y %H:%i:%s %O',
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 0b060da22..013468f6f 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -199,6 +199,7 @@ Hg Tag: </p>
<li>Fixed a bug where multiple libraries could not be loaded by passing an array to load-&gt;library()</li>
<li>Fixed a bug in the html helper where too much white space was rendered between the src and alt tags in the img() function.</li>
<li>Fixed a bug in the profilers _compile_queries() function.</li>
+ <li>Fixed a bug in the date helper where the DATE_ISO8601 variable was returning an incorrectly formatted date string.</li>
</ul>
<h2>Version 1.7.2</h2>
diff --git a/user_guide/helpers/date_helper.html b/user_guide/helpers/date_helper.html
index e38d81a82..59641a9e8 100644
--- a/user_guide/helpers/date_helper.html
+++ b/user_guide/helpers/date_helper.html
@@ -129,7 +129,7 @@ echo standard_date($format, $time);
<tr>
<td>DATE_ISO8601</td>
<td>ISO-8601</td>
- <td>2005-08-14T16:13:03+0000</td>
+ <td>2005-08-14T16:13:03+00:00</td>
</tr>
<tr>
<td>DATE_RFC822</td>