#52: Proper Python types for date/time/timestamp/interval values
-----------------------+----------------------------------
Reporter: cito | Owner: cito
Type: defect | Status: assigned
Priority: major | Milestone: 5.0
Component: DB API 2 | Version: 4.1
Resolution: | Keywords: date, time, typecast
-----------------------+----------------------------------
Changes (by cito):
* keywords: => date, time, typecast
* owner: => cito
* status: new => assigned
* milestone: 5.1 => 5.0
Comment:
I have decided to implement this already in 5.0 because it's a big change
that should be done in a major version.
The typecasting was implemented in r814, using the current datestyle
setting. You can easily restore the old behavior with
`set_typecast('date', None)` if you need backward compatibility.
The adaptation works partially - only in pgdb and only if `DateStyle` is
ISO. This should be improved using the new Adapter class, so I'm leaving
this ticket open.
--
Ticket URL: <http://trac.pygresql.org:8000/pgtracker/ticket/52#comment:1>
PyGreSQL <http://www.pygresql.org/>
PyGreSQL Tracker
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql