Tweetable
Tweetable copied to clipboard
Timestamp discrepancy
I've noticed a discrepancy between timestamps for tweets fetched through this plugin / getmytweets api.
Example -
Original Tweet: 06/02/2014 12:33 AM https://twitter.com/umutm/status/431344872877228032
Same tweet as displayed through Tweetable : 06/01/2014, 08:49 http://jsfiddle.net/Rur72/
I will look into this.
awesome, thanks
solved. change
tweetMonthInt = n++; by tweetMonthInt = n+1;
full code: for(n=0; n<12; n++) { if(shortMonths[n] === tweet.tweet_date.substr(4, 3)) { tweetMonthInt = n+1; tweetMonth = (tweetMonthInt <= 9) ? '0' + tweetMonthInt : tweetMonthInt ; break; } }