I have one W2 for working in 2 different states due to moving. How do I calculate state income taxes for each state?

We moved in December of last year and my W2 only mentions the state we moved from but not the current state we moved to.