Renewed subscription and billing retry state

We have Auto-Renewing Subscription with one month period. A subscription expires (for example, due to a billing issue) and is auto-renewed after a few days. Is a new expiration date is set to the day from previous expiration plus one moth or is set to the day of the successful payment plus one month?