Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

BUGFIX: durations are in minutes, not days!

  • Loading branch information...
commit 16851ba5eace106297f135e8c002b33417c07e45 1 parent b73fb88
Dave Abrahams authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  models.py
2  models.py
@@ -70,7 +70,7 @@ class TimeBlock(Model):
70 70
71 71 @property
72 72 def finish(self):
73   - return self.start + timedelta(self.duration)
  73 + return self.start + timedelta(minutes=self.duration)
74 74
75 75 def __str__(self):
76 76 return self.start.strftime('%m/%d %a ') + '%s - %s' % (

0 comments on commit 16851ba

Please sign in to comment.
Something went wrong with that request. Please try again.