added Math.floor for seconds format

for some reason seconds are displayed as float on LMDE 201403. this should fix it