Add decimal formatting so that the seconds get trailing zeros removed.