Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Team Startbit

    (@vivacityinfotechjaipur)

    Hello SweetMewsic
    Greetings !

    The Twitter widget pulls the tweets from the twitter as they are posted on twitter.com.
    The time difference as you say is due the the time difference between your server and twitter’s server.

    So Please try correcting the time and it will be fixed.

    Also if you want the widget to display the latest tweets then you should update the cache time as per your requirements.

    Thanks

    I’m having the same problem. My server time and my WordPress time settings are both accurate, but a tweet I just post is showing that it is 5 hours old. Any recommendations here?

    I also have the same problem. My server and twitter’s server are in the same time zone, and things show up as 14 hours apart, and then as tweets get older, they show as more recent.

    https://www.mikefrancois.net

    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.

    hour25vs

    (@hour25vs)

    I have a WordPress hosted site through godaddy and so I am NOT a developer. My WP Twitter Feed widget is displaying the tweet time incorrectly as well like mdfrancois – the time is about 8 hours in reverse of the actual tweet time. Both Twitter and WordPress/widget time settings are CORRECT.
    Could anyone (would be great to hear from the widget author) please tell me how I can fix this in laymen’s language? Or does this require an update from the widget author (I saw this was resolved by an widget update another discussion thread with the same problem).
    Alternatively if I can’t fix it I’m going to have to go with another Twitter feed widget – if anyone can suggest one that functions correctly it would be greatly appreciated! Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Time Stamps Wrong’ is closed to new replies.