An interesting point is that I can't remember buying any commercial developer in a dark bottle in about 25 years. Ilford use white plastic, Agfa white & translucent plastic, Kodak mid grey & translucent plastic, the days of the brown glass bottle are long over.
However few if any commercial liquid developers contain Metol, and one reason why Metol based developers are sold as powders is they are more susceptible to the effects of bright light.
So Puma asked about Dektol, Kodak sell two types, the old D72 MQ powder version and Liquid Dektol (AKA Polymax dev) a PQ variant using Dimezone instead of Metol. They have different keeping properties, once the powder version is made up as a concentrate.
If your mixing powder developers either from commercial packs or raw chemicals the choice of storage container is more critical than it's colour. Obviously brown bottles are fine but with plastics it's important to use high density types, easiest is re-used commercial developer bottles.
With the wrong plastics a developer may begin to oxidise within 3 months even in a full sealed bottle. I found that to my cost when I used small translucent plastic sample bottles to store film dev about 4 years ago, the plastic breathes over time allowing oxygen to pass through.
So choice of storage bottle and keeping out of direct sunlight, brightly lit sunlit room are important to extend shelf life.
Ian