﻿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
1149	'now' outputs in UTC and UTC-offset wrong on Windows	Michael@…	Adrian Holovaty	"When the 'now' tag is used in a template, the output is always in UTC and the 'TIME_ZONE' setting appears to be used incorrectly. This behavior has been observed on Windows XP Pro (I have not tried it on other platforms).

{{{
Example #1:
  settings.py: TIME_ZONE = 'America/Chicago'
  template:    {% now ""O Y-M-d H:i"" %}
  Windows Control Panel -> Date/Time -> Time Zone: US Central

Result: +0000 2005-Dec-31 16:40
}}}

This result is exactly 6 hours ahead of the current local time.

{{{
Example #2 (same as above but with the following change:
  settings.py: TIME_ZONE = ''

Result: +1800 2005-Dec-31 10:41
}}}

This result is the correct local time but the UTC offset of +1800 is wrong."	defect	closed	Core (Other)		normal	duplicate	now utc time date zone Windows XP		Unreviewed	0	0	0	0	0	0
