Format walking duration