﻿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
19181	Document caveats about using DateQuerySet in templates when time zone support is enabled.	wiliamsouza83@…	nobody	"Improve the the warning in https://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.dates adding a example that when time zone settings.USE_TZ support is enabled and your time zone settings.TIME_ZONE is settled to America / Sao Paulo wich is UTC - 3 in BRT and UTC - 2 in BRST and DateQuerySet return ""Oct. 10, 2012, midnight"" you will get ""Oct. 9, 2012, 9, 00, 00"". You should turn off local time when displaying DateQuerySet to avoid problems:

{% load tz %}
{% localtime off %}
{% for month in date_list %}
    <p>{{ month }}</p>
{% endfor %}
{% endlocaltime %}"	Uncategorized	closed	Documentation	1.4	Normal	invalid	docs	wiliamsouza83@…	Unreviewed	0	0	0	0	0	0
