UK and US measures are different
The imperial pint used in the UK is 568.26 ml. The US pint is 473.18 ml, about a sixth smaller. The same goes for gallons: 4.546 litres in the UK against 3.785 in the US. American recipes and car economy figures use US measures.
Beer and cider in UK pubs are sold in imperial pints, and milk is often sold in pints too. Most other liquids are sold in litres.