summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31a67eb)
raw | patch | inline | side by side (parent: 31a67eb)
author | kedder <kedder@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 24 Feb 2003 15:38:51 +0000 (15:38 +0000) | ||
committer | kedder <kedder@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 24 Feb 2003 15:38:51 +0000 (15:38 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1543 57a73879-2fb5-44c3-a270-3262357dd7e2
test/test_dates.py | patch | blob | history |
diff --git a/test/test_dates.py b/test/test_dates.py
index dc8a6dc7aba244425b84c8916fefa70b07252d43..b16a8ca73a0d086a933f03966cba67e261f0a4d7 100644 (file)
--- a/test/test_dates.py
+++ b/test/test_dates.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_dates.py,v 1.16 2003-01-12 00:43:43 richard Exp $
+# $Id: test_dates.py,v 1.17 2003-02-24 15:38:51 kedder Exp $
import unittest, time
def testOffset(self):
ae = self.assertEqual
date = Date("2000-04-17", -5)
- ae(str(date), '2000-04-17.00:00:00')
+ ae(str(date), '2000-04-17.05:00:00')
date = Date("01-25", -5)
y, m, d, x, x, x, x, x, x = time.gmtime(time.time())
- ae(str(date), '%s-01-25.00:00:00'%y)
+ ae(str(date), '%s-01-25.05:00:00'%y)
date = Date("2000-04-17.03:45", -5)
ae(str(date), '2000-04-17.08:45:00')
date = Date("08-13.22:13", -5)