fix show_date method on portlets
now we display properly the publication date of the item, or its modification date, if the item has not been yet published