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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | parser_simplepie_add_iso.patch | 893 bytes | alex_b |
| #1 | parser_simplepie_add_iso.patch | 891 bytes | alex_b |
| parser_simplepie_add_iso.patch | 952 bytes | alex_b |
Comments
Comment #1
alex_b commentedPatch above contained debug information.
Comment #2
alex_b commentedInclude seconds.
Open question: should timezone be included in the current way or should it be placed on an extra spot in the ->options object.