Adds classes to DOM elements based on the time of day