solves dates css