문제

I'm returning tweets from LinqToTwitter using TwitterContext.Status.

however I've noticed that the CreatedAt property value returned for each tweet not the same as if I compare the CreatedAt to the representation displayed on twitter.com for the actual tweet.

The minutes part is obviously the same, however it looks like the user's timezone offset is not being applied to this value returned. Therefore the result maybe like +8 hours off.

Is this what should be expected from the result set?, or just a bug?

If we have to apply an offset, how would I go about retrieving this to apply to all tweets returned?

도움이 되었습니까?

해결책

CreatedAt, via the API, is a UTC time. The twitter.com, Web site, translates the date into your local time.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top