fixing date on tweet function

fixing date on tweet function