emberjs/website — pull request #189 by elucid (2012-12-09 17:00:02+00:00)
Title: Clarify duration math in controller guide

The original is more confusing than it needs to be and further it is inaccurate (the `seconds % 3600` operation lops off the number of hours in the track if it is more than an hour).

Also, there is no need for `Math.ciel()` to be called on calculated seconds (provided that the duration property in the model is always an integer number of seconds).

Anyway, I think this is clearer.