Old gasoline has an unmistakably rank smell.
As diesel fuel ages, it does develop a 'sweet' smell, but I believe that this occurs before enough important additives have evaporated to be a problem. A visual inspection of the fuel in your filters (or your tank if you have good access) is more instructive and if you have doubts, simply pump it out and use in a less critical application.