fix duration for rails 4
Merge pull request #62 from adamjacobbecker/master

Closes #58 negative time values displaying