added check for returning if time is all day