From e9356f39a876890c5ac98fac9af68ac9a7922678 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 31 Jul 2001 09:54:18 +0000 Subject: [PATCH] Fixed the 2.1-specific gmtime() (no arg) call in roundup.date. (Paul Wright) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@174 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/date.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/roundup/date.py b/roundup/date.py index fae7fbb..372ddb2 100644 --- a/roundup/date.py +++ b/roundup/date.py @@ -1,4 +1,4 @@ -# $Id: date.py,v 1.5 2001-07-29 07:01:39 richard Exp $ +# $Id: date.py,v 1.6 2001-07-31 09:54:18 richard Exp $ import time, re, calendar @@ -163,7 +163,7 @@ class Date: info = m.groupdict() # get the current date/time using the offset - y,m,d,H,M,S,x,x,x = time.gmtime() + y,m,d,H,M,S,x,x,x = time.gmtime(time.time()) # override year, month, day parts if info['m'] is not None and info['d'] is not None: @@ -355,6 +355,9 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.5 2001/07/29 07:01:39 richard +# Added vim command to all source so that we don't get no steenkin' tabs :) +# # Revision 1.4 2001/07/25 04:09:34 richard # Fixed offset handling (shoulda read the spec a little better) # -- 2.30.2