For whatever reason, django is defaulting to use America/Chicago when TIME_ZONE is not specified.
My server runs in local devices, so the system timezones is all over the place and could change if people move around. Is there a way to accomplish this?
I just want os.environ["TZ"] to not be set, is this possible? Django on startup will set it to that variable to chicago
'America/Chicago' is a default timezone.
When you set USE_TZ to False, Django defaults to using 'America/Chicago' . Interestingly, even if you set USE_TZ to True, unless you set TimeZone, django still defaults to using 'America/Chicago' timezone. Actually, starting Django 5.0, Time zone support is enabled by default.
Django automatically sets TZ environment variable.
Yes, it is possible. For that, You should set configuration manually.
But it is better to use timezone and set it to UTC (Django recommends to do so).