Option to not generate posts in the future

Hi, I would like to have a global option to disable the generation of posts that have a date past the current one.

This feature will avoid to manually add draft=true to every scheduled post, and at the same time allowing me to rebuild the site to update older posts.