[Patches] [ python-Patches-1100942 ] datetime.strptime constructor
added
SourceForge.net
noreply at sourceforge.net
Wed Jan 12 15:53:01 CET 2005
Patches item #1100942, was opened at 2005-01-12 14:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1100942&group_id=5470
Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Josh (josh-sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: datetime.strptime constructor added
Initial Comment:
Alllow creating new datetime objects by parsing date
strings.
datetime already has strftime, so adding strptime is
logical.
The new constructor is equivalent to
datetime(*(time.strptime(date_string, format)[0:6])).
Patch includes documentation and unit test.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1100942&group_id=5470
More information about the Patches
mailing list