I've never seen that usage before in my life 🙃 *searches* "According to the Wiktionary, "earnt" is correct but not common"