summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>