make sure system can handle operating hours that end after midnight