date parsing and format on event detail page