It'll post to 2021 but you'll earn milestone bonuses (if relevant) for 2020.
So assuming you're on 32 nights beforehand and all were stayed in 2020, you'll get your 2020 40 and 50 night milestone bonuses on checkout, will fall just short of the 60-night/40k milestone bonus, and will have 28 nights credit in 2021.