When time zone support is active, raise a warning when a naive datetime reaches the database adapter
|Reported by:||aaugustin||Owned by:||aaugustin|
|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 4 years ago by lukeplant
- Severity changed from Normal to Release blocker
- Triage Stage changed from Design decision needed to Accepted
Changed 4 years ago by aaugustin
comment:5 Changed 4 years ago by aaugustin
- Resolution set to fixed
- Status changed from new to closed