[Moin-devel] [ moin-Bugs-759282 ] util/datetime tmtuple invalid argument
SourceForge.net
noreply at sourceforge.net
Mon Jun 23 10:29:27 EDT 2003
Bugs item #759282, was opened at 2003-06-23 17:25
Message generated for change (Comment added) made by thomaswaldmann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Scott Pascoe (s-pascoe)
Assigned to: Nobody/Anonymous (nobody)
Summary: util/datetime tmtuple invalid argument
Initial Comment:
Hi, I installed from CVS and found the following bug. I'm
running on Windows XP Pro with Python 2.2.3.
the "util/datetime.py" module defines tmtuple and
passes an incorrect parameter to time.gmtime()
It is defined as
return time.gmtime(tmsecs or time.time())
I tested and found that it should be
return time.gmtime(tmsecs + time.time())
Thanks,
Scott
----------------------------------------------------------------------
Comment By: Thomas Waldmann (thomaswaldmann)
Date: 2003-06-23 19:27
Message:
Logged In: YES
user_id=100649
Your "fix" is definitely incorrect.
It would help fixing the bug if you please post
the error msg you got from python, including traceback.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=759282&group_id=8482
More information about the Moin-devel
mailing list