Hydroscopic
Thats the word we are looking for here. Yep keep the cap on the jug and keep the fuel in a place where the temperature is constant.
Open containers and changing temps are the culprits to bad fuel.
Right conditions and fuel will last a long time.
Bad fuel exhibits very erratic engine behavior.
Dbow