; and (2) in subparagraph (J), by striking for months during any calendar year after 2018 and inserting for months after November 2018 . (b) Cost of living adjustment Paragraph (6) of such section is amended— (1) in the paragraph heading, by striking after 2018 and inserting after November 2018 ; and (2) by striking subparagraphs (A) and (B) and inserting the following new subparagraphs: (A) In general Whenever retired pay is increased for a month under section 1401a of this title (or any other provision of law), the amount of the allowance payable under paragraph (1) for that month shall also be increased. (B) Amount of increase With respect to an eligible survivor of a member of the uniformed services, the increase for a month shall be— (i) the amount payable pursuant to paragraph (2) for months during the preceding 12-month period