Date(time) converters cannot handle dates before 1900
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
The Date(time) converters rely on Python's
datetime.strftime method. This method cannot handle
dates with years < 1900.
The attached patch uses 'normal' string interpolation
to overcome this limitiation. A test for this fix is
included in the patch.
I hope this patch proofs to be useful and can be
applied to the SQLObject codebase.
Thx for the great library!
Logged In: YES
user_id=4799
Applied at the revision 1482 to the 0.7-branch and 1483 to
the trunk. Thank you!
Logged In: YES
user_id=80745
I'm confused; I did a check out of both trunk and 0.7-bugfix
branch (from http://svn.colorstudy.com/SQLObject/\) but I
didn't see any changes related to the date(time) converters.
Do I look at the wrong repository?
Logged In: YES
user_id=4799
Oops! I have forgotten to switch to the new URL of the
repository and committed to the old one. Now I've
recommitted the patch. Rev. 1492. Sorry for the confusion!