Skip to content

Commit 784ce62

Browse files
author
Richard Jones
committed
not fully backed-out
1 parent f734ffd commit 784ce62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/date.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: date.py,v 1.39 2002-12-16 05:03:02 richard Exp $
18+
# $Id: date.py,v 1.40 2002-12-18 00:15:53 richard Exp $
1919

2020
__doc__ = """
2121
Date, time and time interval handling.
@@ -245,7 +245,7 @@ def set(self, spec, offset=0, date_re=re.compile(r'''
245245
info = m.groupdict()
246246

247247
# get the current date as our default
248-
y,m,d = time.gmtime(time.time())[:3]
248+
y,m,d,H,M,S,x,x,x = time.gmtime(time.time())
249249

250250
# override year, month, day parts
251251
if info['m'] is not None and info['d'] is not None:

0 commit comments

Comments
 (0)