summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9f1fe7)
raw | patch | inline | side by side (parent: b9f1fe7)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 17 Aug 2001 03:08:11 +0000 (03:08 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 17 Aug 2001 03:08:11 +0000 (03:08 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@241 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/date.py | patch | blob | history |
diff --git a/roundup/date.py b/roundup/date.py
index fac763db6dd9aba6f9d35809bb143860c8a3d0a1..da19289c0459455a203a7d950eac5c659ee653e8 100644 (file)
--- a/roundup/date.py
+++ b/roundup/date.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: date.py,v 1.11 2001-08-15 23:43:18 richard Exp $
+# $Id: date.py,v 1.12 2001-08-17 03:08:11 richard Exp $
import time, re, calendar
else:
return '%s weeks'%int(days/7)
if self.day > 7:
- return '%s weeks'%self.day
+ return '1 week'
if self.day > 1:
return '%s days'%self.day
if self.day == 1 or self.hour > 12:
#
# $Log: not supported by cvs2svn $
+# Revision 1.11 2001/08/15 23:43:18 richard
+# Fixed some isFooTypes that I missed.
+# Refactored some code in the CGI code.
+#
# Revision 1.10 2001/08/07 00:24:42 richard
# stupid typo
#