I would guess that you need to have the right environment to store gas. However one does wonder if what is written is %100 truth.
Heres the article from IFL Science that we used.
https://www.iflscience.com/gasoline-has-a-shelf-life-and-its-shorter-than-you-think-72196