Get your taxes done using TurboTax

I believe that I can add my deductible payment for a new roof replacement to the cost basis of my 2nd home; but does a new roof needs to be installed for at least 1 year in order to get this benefit of cost basis adjustment? Because I installed a new roof in March 2022; then I sold this 2nd house in June 2022. It is only 3 months old.