change date function, detailview

change date function, detailview