Ticket 683

2005-10-22 Thread Jeremy Dunck
I've added a half-patch to ticket 683. I don't understand all the magick going down in meta and models, but I hope the bit I did was useful.

Re: MS SQL date vs. datetime problem

2005-10-22 Thread Jakub Labath
On 10/22/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > What you need to do is make sure the driver typecasts datetime > database fields to Python datetime.date objects, and date database > fields to Python datetime.date objects. Some database drivers do this > automatically, but others

Re: MS SQL date vs. datetime problem

2005-10-22 Thread Jakub Labath
Hi > > But DateTime objects can be used to represent both; you just have a > DateTime object with no time values. Yes true, but it creates an error when running unittests, and I'm assuming the tests are in place for a reason. Best jakub

Re: MS SQL date vs. datetime problem

2005-10-22 Thread Jonathan Daugherty
# oops # I put in date and I get datetime back. But DateTime objects can be used to represent both; you just have a DateTime object with no time values. -- Jonathan Daugherty http://www.parsed.org