when getting the next/previous posts, format the date from the db rather than through php.