[Patches] [ python-Patches-691928 ] Use datetime in _strptime
SourceForge.net
noreply@sourceforge.net
Sun, 23 Feb 2003 16:56:52 -0800
Patches item #691928, was opened at 2003-02-23 19:07
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=691928&group_id=5470
Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Cannon (bcannon)
Assigned to: Nobody/Anonymous (nobody)
Summary: Use datetime in _strptime
Initial Comment:
To prevent code duplication, I patched _strptime to use datetime's date object to do Julian day, Gregorian, and day of the week calculations (Tim's code has to be more reliable than mine =). Patch also includes new regression tests to test results and calculation gets triggered.
Very minor comment changes and my contact email are also changed.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-23 19:56
Message:
Logged In: YES
user_id=33168
Brett, is there any doc for the functions that were removed?
firstjulian, gregorian, julianday, dayofweek
Otherwise, the patch seemed fine (but I didn't look that
closely).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=691928&group_id=5470