[ python-Bugs-1245224 ] Time module is missing inverse of gmtime()
SourceForge.net
noreply at sourceforge.net
Sun Mar 11 22:13:19 CET 2007
Bugs item #1245224, was opened at 2005-07-26 15:04
Message generated for change (Comment added) made by pboddie
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1245224&group_id=5470
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: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jeremy Fincher (jemfinch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Time module is missing inverse of gmtime()
Initial Comment:
The time module has the inverse function of localtime() in its mktime
() function, but is missing the inverse of gmtime().
After a bit of searching, I found the calendar module function timegm
(), which claims to be the inverse of gmtime().
Is there any reason the time module shouldn't provide the inverse of
gmtime()? It's obviously needed, as the calendar module has a
version for its own use since the time module doesn't provide one.
----------------------------------------------------------------------
Comment By: Paul Boddie (pboddie)
Date: 2007-03-11 22:13
Message:
Logged In: YES
user_id=226443
Originator: NO
See patch #1667546 for an implementation of timegm.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1245224&group_id=5470
More information about the Python-bugs-list
mailing list