#35193: Range dumper assumes timezone aware datetimes.
-------------------------------------+-------------------------------------
Reporter: Mapiarz | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: psycopg3 | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mapiarz):
Thanks Mariusz.
In the overriden dumper, is it ok to never cast to tstzrange like the
built in dumper does? I'm not sure why that is needed in the first place
and I don't want to break something with 'normal' (i.e. timezone aware)
fields.
--
Ticket URL: <https://code.djangoproject.com/ticket/35193#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.