Mercurial > p > roundup > code
diff roundup/date.py @ 168:92ac7b6c0301
Fixed the 2.1-specific gmtime() (no arg) call in roundup.date. (Paul Wright)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 31 Jul 2001 09:54:18 +0000 |
| parents | 0791d13baea7 |
| children | a44c70b25369 |
line wrap: on
line diff
--- a/roundup/date.py Mon Jul 30 08:12:17 2001 +0000 +++ b/roundup/date.py Tue Jul 31 09:54:18 2001 +0000 @@ -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 @@ 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 @@ # # $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) #
