Time zone configuration does not work properly
|Reported by:||Marek Kubica||Owned by:||Jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm developing my Django programs under Windows, which is set to local time, the time zone being Europe/Berlin. When I set TIME_ZONE in my settings.py to 'Europe/Berlin' Django sets the offset to GMT to zero (determined by item.date|date:"d.m.Y H:i O" in a template) and the time returned by datetime.now() is one hour earlier then it is on my computer (the time shown in the log, e.g. [26/Dec/2005 ...] is also one hour too early). The only way of correcting it, seems to set TIME_ZONE to 'GMT-1', which is not true for Germany (and does not respect daylight saving).