﻿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
10048	Check for no timezone in dateformat.py	Claude Paroz	nobody	"The DateFormat class in source:django/trunk/django/utils/dateformat.py has a self.timezone attribute that can be None (self.timezone = getattr(dt, 'tzinfo', None)). However, it is not checked for None value when called in I(), T(), U() and Z() methods.

This can lead to AttributeError:
{{{
File ""/usr/lib/python2.5/site-packages/django/utils/dateformat.py"", line 195, in T
    name = self.timezone.tzname(self.data)

AttributeError: 'NoneType' object has no attribute 'tzname'
}}}"		closed	Core (Other)	1.0		fixed			Accepted	0	0	0	0	0	0
