WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Twitter Tools] Incorrect Tweet Times (5 posts)

  1. depiction
    Member
    Posted 4 years ago #

    I just installed the latest version of Twitter Tools with 2.8.4 and added the Twitter Tools widget to display the most recent 5 tweets in the sidebar.

    After each tweet in the sidebar, it says "x hours ago". Clicking on the link takes you to the tweet on Twitter with a completely different time.

    1st Tweet - site says 3 weeks ago, real time on Twitter - 1 hour ago
    2nd Tweet - site says 14 hours ago, real time on Twitter - 19 hours ago
    3rd Tweet - site says 18 hours ago, real time on Twitter - 24 hours ago

    These times do not make any sense. Any idea as to how to get the real time from Twitter to display on the site?

  2. crobs808
    Member
    Posted 4 years ago #

    I am having the same problem. Just installed Twitter Tools on 2.8.4 (new install as of 2 days ago) and on Twitter is shows "1 minute ago", but on my sidebar it shows "3 weeks ago"...what's the deal? Did you figure this out?

  3. Alex King
    Member
    Posted 4 years ago #

    I've looked at this in the past but never been able to reproduce the issue. If someone debugs it, I'd love to get a patch. The bug should be in the aktt_relativeTime() function (which, as noted in the code, was taken from: http://www.gyford.com/phil/writing/2006/12/02/quick_twitter.php )

    It also may have to do with incorrect server time settings, or somehow relate to server times (since I can't reproduce it).

  4. depiction
    Member
    Posted 4 years ago #

    I just switched to Twitter Widget to get tweets in my sidebar. http://wordpress.org/extend/plugins/twitter-widget/

  5. blogmum
    Member
    Posted 4 years ago #

    Am also having this problem - anything posted within the last hour or two shows as "3 weeks ago" - so just wondering if anyone has found a fix?

    I tried changing WP to US time zones and that didn't fix it. I'm pretty sure Alex is correct that it's an issue with server time zones as the site in question is on a server located in the UK.

    Will post a fix if I figure it out (yes, it would be easier to use something else but of course now I want to fix this... :-D )

Topic Closed

This topic has been closed to new replies.

About this Topic