django/django — pull request #2971 by shaib (2014-07-26 12:53:37+00:00)
Title: [1.6.x] Fixed #20292: Pass datetime objects (not formatted dates) as par...

...ams to Oracle

This seems worthwhile in its own right, but also works around an Oracle
bug (in versions 10 -- 11.1) where the use of Unicode would reset the
date/time formats, causing ORA-01843 errors.

Thanks Trac users CarstenF for the report, jtiai for the initial patch,
and everyone who contributed to the discussion on the ticket.

Backport of 6983201 from master.