Apple are begrudgingly honouring EU laws that the minimum warranty allowed for electronics is 2 years (based on the idea that computing devices should last at least that long without breaking).
Apple’s standard warranty is 1 year. If you’re buying a shiny new Apple device, buy it direct from Apple to get the mandatory 2 year warranty from them, rather than getting pointed at whoever you bought it from, if it breaks.