update the display time with post time on templates