Gasoline and diesel usually sell by volume, and if the temperature of the fuel is cold when you purchase it, you get more kilos per volume than you do when the dispensing tank is warmer.
There is quite a bit more expansion & contraction of hydrocarbons with temperature than many peoople expect.
I live in California. Our temperature variation is not that large to explain this difference in fuel efficiency.