Add time zone support

Bug #1714043 reported by kaputtnik on 2017-08-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website

Bug Description

Currently we use Django setting USE_TZ = False because of historical reasons. Changing this setting to True means any Datetime field in the Database becomes additional values to store the TimeZone and possible DST. But changing the setting has several consequences: Adjustments to the code, mysql and the database are needed.

Here are some links which could help migrating to activate Time zone support:

- Django Time Zones (general):

- Django migration guide:

- Additional changes to mysql:

- Dumpdata could may be helpful to get a json formatted output of database and tables:

- Loaddata can be used to load modified json files (fixtures) created by dumpdata:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers