Home » Database » MDB2 » Bug #8739
Make it possible to disable forcing a common date format
Details
| Request #8739 | Make it possible to disable forcing a common date format |
|---|---|
| Submitted | 2006-09-19 21:23 UTC |
| From | martin at bugs dot unl dot edu dot ar |
| Assigned | lsmith |
| Status | Closed |
| Package | MDB2 |
| PHP Version | 5.1.6 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-09-19 21:23 UTC] martin at bugs dot unl dot edu dot ar
Description:
------------
Every time a new connection is made MDB2 executes this on line 424:
if (!@pg_query($connection, "SET SESSION DATESTYLE = 'ISO'")) {
This changes the way dates are returned, which is really undesirable, especially if you are useing SQL like dates (dd/mm/yyyy) and you get back ISO (yyyy/mm/dd).
It would be nice if this could be configurable.