after 8 and before 6am it switches to dark