General rule
For purposes of subsection (a), if real property is sold during any real property tax year, then—
(A) so much of the real property tax as is properly allocable to that part of such year which ends on the day before the date of the sale shall be treated as a tax imposed on the seller, and
(B) so much of such tax as is properly allocable to that part of such year which begins on the date of the sale shall be treated as a tax imposed on the purchaser.