aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/IXR_Library.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/IXR_Library.php')
-rw-r--r--inc/IXR_Library.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/IXR_Library.php b/inc/IXR_Library.php
index e671b6880..bb1655f10 100644
--- a/inc/IXR_Library.php
+++ b/inc/IXR_Library.php
@@ -822,6 +822,7 @@ EOD;
*/
class IXR_Date {
+ const XMLRPC_ISO8601 = "Ymd\TH:i:sO" ;
/** @var DateTime */
protected $date;
@@ -861,7 +862,7 @@ class IXR_Date {
* @return string
*/
public function getIso() {
- return $this->date->format(DateTime::ISO8601);
+ return $this->date->format(self::XMLRPC_ISO8601);
}
/**