Adding correct divs for time periods