﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
7016	Atom Feed dates should use settings.TIME_ZONE	mattdw	ccahoon <chris.cahoon@…>	"Atom feeds currently only seem to format dates if the dates have attached timezone information. For some reason my dates don't (perhaps because I'm using SQLite as my backend.)

In settings.py I have: {{{TIME_ZONE = 'Pacific/Auckland'}}}

A comment object has date:
{{{
>>> c
<Comment: Matt: A test comment…>
>>> c.published
datetime.datetime(2008, 4, 14, 17, 46, 15, 24810)
}}}

the corresponding atom feed entry has date:
{{{
<updated>2008-04-14T17:46:15Z</updated>
}}}

There are two possible fixes that I can think of; either the correct offset should be calculated (e.g. {{{2008-04-14T17:46:15+12:00}}}) or the time should be converted to UTC (e.g. {{{2008-04-15T03:46:15Z}}}.

The rest of my website seems to handle dates and times fine (although I suspect it may be because it's not trying to do any TZ work at all, just displaying the dates as-is), which is why I've categorised it as a Feed Framework issue."		closed	contrib.syndication	dev		fixed	atom timezone dates		Ready for checkin	1	0	0	0	0	0
