ability to log spent time on an issue
This commit is contained in:
parent
4336da6224
commit
b9bba5924a
4 changed files with 26 additions and 4 deletions
|
|
@ -15,7 +15,7 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
from datetime import datetime
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
from .base import IBaseCap, CapBaseObject
|
||||
|
||||
|
|
@ -106,6 +106,7 @@ class Update(CapBaseObject):
|
|||
CapBaseObject.__init__(self, id)
|
||||
self.add_field('author', User)
|
||||
self.add_field('date', datetime)
|
||||
self.add_field('hours', timedelta)
|
||||
self.add_field('message', unicode)
|
||||
self.add_field('attachments', (list,tuple))
|
||||
self.add_field('changes', (list,tuple))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue