diff --git a/inc/output/WxTweet.class.php b/inc/output/WxTweet.class.php index d36b744..ac2ee78 100644 --- a/inc/output/WxTweet.class.php +++ b/inc/output/WxTweet.class.php @@ -150,7 +150,7 @@ function render_tweet($tweet_template = null) { * @return string Human-readable timestamp for tweets */ protected function format_time($timestamp) { - if($this->is_future($timestamp) && !$this->is_tomorrow($timestamp)) { + if($timestamp - $this->curr_timestamp >= 86400 && !$this->is_tomorrow($timestamp)) { $date_format = 'M j \a\t g:i A'; } else {