Jeff-Lewis / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Datetime format compliance with RFC 3339 in atom feed in default template #509

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select Atom as a feed format.
2. Run 'FEED Validator': http://feedvalidator.org
3. See the validation error like that: line 6, column 33: updated must be an 
RFC-3339 date-time: 2011-8-22T9:54:41+0300

Expected output: http://feedvalidator.org/docs/error/InvalidRFC3339Date.html

Can be solved by change: ${date.format("yyyy-MM-dd'T'HH:mm:ssZ", 
$page.publishDate)} => ${date.format("yyyy-MM-dd'T'HH:mm:ss'Z'", 
$page.publishDate)}

Original issue reported on code.google.com by net...@netrat.eu on 22 Aug 2011 at 7:47