summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9294017)
raw | patch | inline | side by side (parent: 9294017)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 16 Dec 2002 05:03:02 +0000 (05:03 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 16 Dec 2002 05:03:02 +0000 (05:03 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1413 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/date.py | patch | blob | history |
diff --git a/roundup/date.py b/roundup/date.py
index d98e586989486348f7dd10d75b00e672c0057c75..821ebaeb09a89672ba2a068108def37c13b99c84 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.38 2002-12-16 04:39:36 richard Exp $
+# $Id: date.py,v 1.39 2002-12-16 05:03:02 richard Exp $
__doc__ = """
Date, time and time interval handling.
# get the current date as our default
y,m,d = time.gmtime(time.time())[:3]
- # time defaults to 00:00:00 _always_
- H = M = S = 0
-
# override year, month, day parts
if info['m'] is not None and info['d'] is not None:
m = int(info['m'])
d = int(info['d'])
if info['y'] is not None:
y = int(info['y'])
+ # time defaults to 00:00:00 now
+ H = M = S = 0
# override hour, minute, second parts
if info['H'] is not None and info['M'] is not None: