#546 [Opn->Csd]: RSS dc:date is in the wrong format

From: Date: Wed, 07 Jan 2004 21:06:55 +0000
Subject: #546 [Opn->Csd]: RSS dc:date is in the wrong format
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-1188@lists.php.net to get a copy of this message
ID: 546 Updated by: mj@php.net Reported By: eln at gmx dot net -Status: Open +Status: Closed Bug Type: Web Site Operating System: Irrelevant PHP Version: Irrelevant New Comment: I've fixed that in CVS. The machine is located at pair Networks in Pittsburgh, which should be GMT -5. Previous Comments: ------------------------------------------------------------------------ [2004-01-07 14:45:26] eln at gmx dot net Description: ------------ The dc:date in the rss files in /feeds/something.rss is in this format: 2004-01-07 08:04:51 which lacks timezone information which confuses some RSS readers. It is simple to fix: Change 2004-01-07 08:04:51 to 2004-01-07T08:04:51+0X:00 (replacing X with the actual hours different from GMT) As described by http://web.resource.org/rss/1.0/modules/dc/ and http://www.w3.org/TR/NOTE-datetime I've placed a simple patch for this at http://www.ununique.net/div/Common.php.diff But as I don't know the current time zone, it will need to be changed anyway. It is also not real-world tested as I don't have a local pear.php.net running.. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=546&edit=1

« previous php.pear.webmaster (#1188) next »