Correct errors with padding zeros in hours and minutes