In the US, food banks I've volunteered at had very strict food expiration policies and wouldn't (couldn't?) offer any food very near expiration. They threw out huge quantities of food. Also turned away even more donations for same reason.
They were operating under federal funding, which the workers seemed to imply required the policy.