Forum Replies Created

Viewing 1 replies (of 1 total)
  • Cause: Twitter returns GMT but the difference is calculated using local time.
    Resolution: Add 1 for the GMT parameter to the current_time() calls:

    ./controller/twitter_widget.class.php Line 316
    $timeDisplay = twitter_time_diff($t['time'], current_time('timestamp', 1));

    ./controller/twitter_widget.class.php Line 318
    $timeDisplay = human_time_diff($t['time'], current_time('timestamp', 1));

    There are other instances of this in ./slider.php and ./views/slider.php.

Viewing 1 replies (of 1 total)