[EventsView] Fix wrong seconds value in "Duration"

If an input value of formatSecond() is decimal, it returns wrong
second value. This commit rounds down such input values at caller
side.
Merge branch 'issue145'