Calculating HSA contribution limit

My wife went on medicare in March of 2019.  I was not on medicare in 2019.  I and our two children were covered by an HDHP for the entire year.  My wife was covered for January/February.  We are married and file jointly.

I contributed the full family amount plus the $1,000 catchup to my HSA for a total of $8,000.  We contributed 2*1000/12 (prorated catchup) to my wife's HSA.

TTax says my wife could have contributed $1,334.  I don't understand the calculation.  Who is correct?