change post.time from date to datetime