Daytrotter fix for misplaced parenthesis.
Merge pull request #255 from tomkrall/daytrotter-fixDurationCalculation

Daytrotter fix for misplaced parenthesis.