Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For me, the latest django defaults to "TIME_ZONE = 'UTC'" in the settings.py.


"settings.py" is your local configuration. The global default is still Chicago:

* https://github.com/django/django/blob/main/django/conf/globa...


settings.py is automatically generated when creating a new project and overrides this global default. If you create a new django project and run it, it uses UTC.


I wonder what version they swapped it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: