It wouldn't. If X$ worth of bitcoin is handed out every block, then miners competing for that prize are willing to collectively spend up to X$ per block on average.
If they could only mine for part of the time, then they'd simply acquire more hardware and mine at a higher hashrate during the shorter time.