<?php
//Publish future posts (affects only get_posts)
function custom_archive_query($query) {
	if ( $query->is_archive() ) {
		$query->set( 'post_status', array('future', 'publish') );
	}
	return $query;
}
add_filter( 'pre_get_posts', 'custom_archive_query' );
?>