models.py: time span was calculated incorrectly