"He has a month."
Translation:Han har en måned.
Yes, it's pretty wrong. As far as I know, there really isn't a rule, you just need to learn it. There are animate objects who are neuter gender, too, like 'et dyr'. An animal seems pretty animate to me ;) It's just pretty random, and you need to learn it or hope you guess correctly