Create a directive for displaying event dates.