[Zope-Checkins] CVS: Zope/utilities - requestprofiler.py:1.15
Andreas Jung
andreas@digicool.com
Thu, 21 Feb 2002 09:58:31 -0500
Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv1671/utilities
Modified Files:
requestprofiler.py
Log Message:
changed --today option to use localtime() instead of gmtime()
(BigM logs are written using localtime())
=== Zope/utilities/requestprofiler.py 1.14 => 1.15 ===
resolution=int(val)
if opt=='--today':
- now = time.gmtime(time.time())
+ now = time.localtime(time.time())
# for testing - now = (2001, 04, 19, 0, 0, 0, 0, 0, -1)
start = list(now)
start[3] = start[4] = start[5] = 0