One survey suggests that 60 percent of Americans throw out food prematurely because of confusion over expiration dates,--First world problems. I have expired Siriacha in my fridge. It's been expired since 2012. I'm still alive. I would not do that with meat or milk, but everything else is game.
Restaurants waste a lot of food. I'd rather they donate it, but maybe it's too much of a logistical problem to target folks who need the food.