added some date formats to prettifyDate method