add class to date output