I ran into dates prior to 1900 being unsupported  while ago and
finally got around to working with it.

I attempted to attach this to Bug #1443 but got rejected as potential
spam. The patch is against today's SVN and the unittest suite works
against the sqllite3 backend.  Unfortunately, MySQL 4.x is the
database I'm using currently so I cannot easily run the mysql database
backend for testing (varchars over 255 are part of the test suite).

I added 2 test cases to serializes_regress test and that caused plenty
of failures across the suite that are now resolved.  The strfrtime is
pretty pervasive through the codebase.  The existing patch on #1443
introduces a new datetime_pg operation.  My patch just 0 pads the
existing string operations from the default datetime and gets out of
the strftime business.  The roundtrip problem in python is

   datetime.datetime.strptime("0001-01-01","%Y-%m-%d").strftime("%Y-%m-
%d")

I've placed the patch here http://greencm.googlepages.com/date1900.diff
for review.

Cheers,
Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to