there's studied that say between 1 and 2 years, that sounds like short time to me.
However, there are not enough studies to draw scientific conclusions, but all evidence points to what I said.
As does the discussion in places like reddit by people doing it. If they change their habits, they don't gain weight back. If they only change them somewhat, it just happens more slowly.