Patches item #1386249, was opened at 2005-12-20 18:09
Message generated for change (Comment added) made by phd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1386249&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Jan-Wijbrand Kolman (j-w)
Assigned to: Oleg Broytmann (phd)
Summary: Date(time) converters cannot handle dates before 1900
Initial Comment:
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!
----------------------------------------------------------------------
>Comment By: Oleg Broytmann (phd)
Date: 2006-01-12 00:05
Message:
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!
----------------------------------------------------------------------
Comment By: Jan-Wijbrand Kolman (j-w)
Date: 2006-01-11 23:17
Message:
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?
----------------------------------------------------------------------
Comment By: Oleg Broytmann (phd)
Date: 2006-01-11 19:57
Message:
Logged In: YES
user_id=4799
Applied at the revision 1482 to the 0.7-branch and 1483 to
the trunk. Thank you!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1386249&group_id=74338
|