From 1f2e25707408f18315215c655972b4d683f5c289 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 8 Dec 2005 00:08:12 +0000 Subject: [PATCH] Add timezone to iso8601 timestamp. Props devlogic. fixes #2036 git-svn-id: http://svn.automattic.com/wordpress/trunk@3279 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-IXR.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php index 01c3079d3b..7851b68a99 100644 --- a/wp-includes/class-IXR.php +++ b/wp-includes/class-IXR.php @@ -625,7 +625,7 @@ class IXR_Date { $this->timezone = substr($iso, 17); } function getIso() { - return $this->year.$this->month.$this->day.'T'.$this->hour.':'.$this->minute.':'.$this->second; + return $this->year.$this->month.$this->day.'T'.$this->hour.':'.$this->minute.':'.$this->second.$this->timezone; } function getXml() { return ''.$this->getIso().'';