mirror of https://github.com/snachodog/mybuddy.git
Fix Tummy Time display fields.
This commit is contained in:
parent
9767315878
commit
b317c08504
|
@ -194,7 +194,7 @@ class TummyTime(models.Model):
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return 'Tummy time for {} on {} ({})'.format(
|
return 'Tummy time for {} on {} ({})'.format(
|
||||||
self.child, self.end.date(), self.duration())
|
self.child, self.end.date(), self.duration)
|
||||||
|
|
||||||
def duration_td(self):
|
def duration_td(self):
|
||||||
return self.end - self.start
|
return self.end - self.start
|
||||||
|
|
Loading…
Reference in New Issue