Make opening/closing times work