﻿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
20045	template timezone datetimefields with auto_now_add, auto_now	rpq	nobody	"The instructions found at ​https://docs.djangoproject.com/en/1.4/topics/i18n/timezones/#time-zone-aware-output-in-templates indicate that datetime aware fields on a model displayed on a template should automatically display in the current time zone. I use TIME_ZONE set to 'UTC' and change the current time zone with activate() for users in different time zones.

When displaying my DateTimeFields (created_at and updated_at) created with auto_now and auto_now_add, the template displays the datetime fields in UTC regardless of what time zone is set using activate() and localtime filter has no effect on them. All the other DateTimeFields not created with auto_now and auto_now_add are displaying in the template as expected in the current timezone.

Help?"	Uncategorized	closed	Template system	1.5	Normal	invalid			Unreviewed	0	0	0	0	0	0
