When time zone support is active, raise a warning when a naive datetime reaches the database adapter
|Reported by:||Aymeric Augustin||Owned by:||Aymeric Augustin|
|Component:||Database layer (models, ORM)||Version:|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I haven't done it because I thought it would be too obnoxious -- for instance, if you're using a third-party app that uses datetimes in a non-trivial way and hasn't been upgraded yet.
But a good argument in favor of such a warning was made on the mailing list, and it's easy to filter the warning out with one line in your settings file if you don't care.
Change History (7)
comment:1 Changed 5 years ago by
|Severity:||Normal → Release blocker|
|Triage Stage:||Design decision needed → Accepted|