I have just installed Grammarly and it showed up something which i am not sure of.
It corrected '13 month old' to '13-month-old'.
The context is
I ask because my 13-month-old God daughter seemed like she was a little resentful towards another child who was visiting at the same time.
Which would be correct, and why?