Fix duration calculation so that it works more than once
This bug with strptime is apparently a well known bug/feature in Python.