Mercurial > p > roundup > code
diff roundup/date.py @ 2403:1cc51a44ce39 maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 08 Jun 2004 05:39:37 +0000 |
| parents | a13ec40cf8f5 |
| children | 5080ca961b2e |
line wrap: on
line diff
--- a/roundup/date.py Tue Jun 08 05:34:21 2004 +0000 +++ b/roundup/date.py Tue Jun 08 05:39:37 2004 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: date.py,v 1.68 2004-05-06 02:35:46 richard Exp $ +# $Id: date.py,v 1.68.2.1 2004-06-08 05:39:37 richard Exp $ """Date, time and time interval handling. """ @@ -349,7 +349,7 @@ format, then the day number will be removed from output. ''' str = time.strftime(format, (self.year, self.month, self.day, - self.hour, self.minute, self.second, 0, 0, 0)) + self.hour, self.minute, int(self.second), 0, 0, 0)) # handle zero day by removing it if format.startswith('%d') and str[0] == '0': return ' ' + str[1:]
