Add support for css classes depending on existing objects in a day