Django

Code

Ticket #1120 (closed: duplicate)

Opened 3 years ago

Last modified 2 years ago

Development server ignores changing the TIME_ZONE information

Reported by: Marek Kubica Assigned to: adrian
Milestone: Component: django-admin.py runserver
Version: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

While I was trying different time zones in settings.py (edit the file, save it, see the development server reloading) I noticed that the change of TIME_ZONE does not affect the server. You have to stop the server completely and restart it to let it see the change.

Attachments

Change History

02/05/06 05:10:17 changed by anonymous

Now, even after I restart the server completely, the TIME_ZONE still does not affect the server. Indeed, it seems that the TIME_ZONE setting has no effect at all.

05/26/06 14:09:53 changed by adrian

  • status changed from new to closed.
  • resolution set to worksforme.

Please reopen with more information, such as your OS, database engine and Django version, if this is still an issue.

06/09/06 08:08:15 changed by scott.benjamin@gmail.com

  • status changed from closed to reopened.
  • resolution deleted.

This happens to me on Windows XP, Python 2.4.3, with Django from trunk as of June 9 14:00 GMT using the SQLite db engine.

I am in New Zealand GMT +12 and no matter what timezone I set the TIME_ZONE setting to it only displays GMT in the output from the servers as well as the templates using {% now %}

06/09/06 22:55:31 changed by mtredinnick

The other important question here is what is the value of your TIME_ZONE string in settings.py? I'm wondering how much this is related to #1977.

11/29/06 16:22:58 changed by adrian

  • component changed from django-admin.py to django-admin.py runserver.

01/21/07 21:45:36 changed by SmileyChris

  • status changed from reopened to closed.
  • resolution set to duplicate.

Duplicate of #2315


Add/Change #1120 (Development server ignores changing the TIME_ZONE information)




Change Properties
Action