Set duration resolution to 1s

It is caused by using timestamps :(