Support » Plugin: WP-jTweets » Time Zone Settings

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Aaron Reimann

    (@areimann)

    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)

    Thread Starter verse.thekeg

    (@versethekeg)

    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.

    Thread Starter verse.thekeg

    (@versethekeg)

    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';
    Thread Starter verse.thekeg

    (@versethekeg)

    Marked as resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Time Zone Settings’ is closed to new replies.