WordPress.org

Ready to get started?Download WordPress

Forums

WP-jTweets
[resolved] Time Zone Settings (5 posts)

  1. verse.thekeg
    Member
    Posted 11 months ago #

    Hi,

    Great plug in. I have set my time zone to UTS+10 in word press whilst my twitter account is using GMT+10

    Problem is when I post in twitter, the post comes up as 10 hours ago where it should say a minute ago.

    Could you point me in the right direction? maybe I've missed a config setting somewhere?

    my website address is http://www.uverseu.com.au

    http://wordpress.org/plugins/wp-jtweets/

  2. Aaron Reimann
    Member
    Plugin Author

    Posted 11 months ago #

    Hmmmm....

    I haven't dealt with many timezones. It should be picking up the WP settings. Is it possible to get a login to your site? (i understand if you can't give me that)

  3. verse.thekeg
    Member
    Posted 7 months ago #

    Hi Aaron,

    Not a chance, I'm happy to set up a remote connection between our two computers on day though using teamviewer or similar.

    We would have to organise a time that works for us both of course.

  4. verse.thekeg
    Member
    Posted 7 months ago #

    Hi Aaron,

    I managed to get it working but I am not sure how it will translate on sites from around the world. Essentially I modified this code

    // actual functions that spits out the code
    function jtweets_twitter_formatter($twitter_timestamp)
    {
    	//Format from JSON: Sat Mar 16 18:27:08 +1000 2013
    	$epoch_timestamp = strtotime( $twitter_timestamp );
    	$twitter_time = human_time_diff($epoch_timestamp, current_time('timestamp') ) . ' ago';

    To This

    // actual functions that spits out the code
    function jtweets_twitter_formatter($twitter_timestamp)
    {
    	//Format from JSON: Sat Mar 16 18:27:08 +1000 2013
    	$epoch_timestamp = strtotime( $twitter_timestamp );
    	$twitter_time = human_time_diff($epoch_timestamp, current_time('timestamp') -36000) . ' ago';
  5. verse.thekeg
    Member
    Posted 6 months ago #

    Marked as resolved

Reply

You must log in to post.

About this Plugin

About this Topic

Tags