[Commits] (donn) Changed the default due-date for Tasks

commits at osafoundation.org commits at osafoundation.org
Thu Sep 16 12:46:57 PDT 2004


Commit by: donn
Modified files:
chandler/parcels/osaf/contentmodel/tasks/Task.py 1.7 1.8

Log message:
Changed the default due-date for Tasks
------------------------------------------------------
* Used to use 7 days hence, now 1 hour hence

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/tasks/Task.py.diff?r1=text&tr1=1.7&r2=text&tr2=1.8

Index: chandler/parcels/osaf/contentmodel/tasks/Task.py
diff -u chandler/parcels/osaf/contentmodel/tasks/Task.py:1.7 chandler/parcels/osaf/contentmodel/tasks/Task.py:1.8
--- chandler/parcels/osaf/contentmodel/tasks/Task.py:1.7	Sun Aug 29 02:08:42 2004
+++ chandler/parcels/osaf/contentmodel/tasks/Task.py	Thu Sep 16 12:46:55 2004
@@ -2,8 +2,8 @@
 """ Class used for Items of Kind Task
 """
 
-__revision__  = "$Revision: 1.7 $"
-__date__      = "$Date: 2004/08/29 09:08:42 $"
+__revision__  = "$Revision: 1.8 $"
+__date__      = "$Date: 2004/09/16 19:46:55 $"
 __copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -62,8 +62,8 @@
         # default status is To Do
         self.taskStatus = 'todo'
 
-        # default due date is 7 days hence
-        self.dueDate = DateTime.now() + DateTime.DateTimeDelta(7)
+        # default due date is 1 hour hence
+        self.dueDate = DateTime.now() + DateTime.DateTimeDelta(0,1)
 
         # default the requestor to "me"
         self.requestor = self.getCurrentMeEmailAddress ()



More information about the Commits mailing list