You have learnt your lessons only in UK-influenced countries; you’ve learned them in the US. There are several common verbs that often have “T” endings in Britain which seem a little quaint and poetic in American English, where we prefer “-ED.” Other examples: “dreamt/dreamed,” “dwelt/dwelled,” “leant/leaned,” “leapt/leaped,” and “spelt/spelled.” However, the following alternatives are both common in the US: “burned/burnt” and “kneeled/knelt.”