#178 closed defect (invalid)
Wrong time zone usage
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | normal | Keywords: | time zone |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Django doesn't pick up time zone when running under Ubuntu. Setting TZ in environment fixes it. Ubuntu (and Debian Sarge) doesn't have TZ in environment by default though.
Note:
See TracTickets
for help on using tickets.
You don't set TZ in the environment; you'll need to set it in your settings file; use something like
TIME_ZONE = "America/Chicago"