You’re sort of mixing ideas I believe. The nutrient density (minerals etc) is declining because of the soil quality it is grown in, not because it is sitting on shelf.
The vitamin C thing was about nutrient loss due to blanching (a processing step) I believe