Add time zone support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands Website |
Won't Fix
|
Undecided
|
Unassigned |
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): https:/
- Django migration guide: https:/
- Additional changes to mysql: https:/
- Dumpdata could may be helpful to get a json formatted output of database and tables: https:/
- Loaddata can be used to load modified json files (fixtures) created by dumpdata: https:/
Issue moved to https:/ /github. com/widelands/ widelands- website/ issues/ 271