Currently, neither parser_common nor parser_simplepie expose the correct date with timezone information.

This patch exposes time zone information on

options->published_iso

in the ISO format

YYYY-MM-DDTHH:MMXOFFS

So, e.g.:

2007-12-25T15:13-0500

for December 25th, 2007 3.13 PM east coast time.

This will help getting accurate timezone information on aggregated content.

Alex

Comments

alex_b’s picture

StatusFileSize
new891 bytes

Patch above contained debug information.

alex_b’s picture

StatusFileSize
new893 bytes

Include seconds.

Open question: should timezone be included in the current way or should it be placed on an extra spot in the ->options object.