Atom and XML have always had different formats I believe, if you were
to get statuses/user_timeline.xml it'd have the same format as users/
show.xml

On Dec 30, 10:42 am, Shaurabh Bharti <sbha...@gmail.com> wrote:
> Hi,
> Calls to multiple twitter api returns time related info in different
> timestamp formats.
>
> 1st call ishttp://search.twitter.com/search.atom?result_type=popular&q=iphone
> Timestamp for "published" data is "2010-12-30T07:05:45Z"
>
> 2nd call 
> ishttp://api.twitter.com/1/statuses/user_timeline.atom?screen_name=Skype
> Timestamp for "published" data is "2010-12-30T07:05:45+00:00"
>
> 3rd call ishttp://api.twitter.com/1/users/show.xml?screen_name=Skype
> Timestamp for "created_at" data is "Tue Mar 27 10:48:31 +0000 2007"
>
> I am wondering why different timestamp formats are used in responses
> to API calls, though different formats may be desired for displaying
> purposes of these timestamps. I am looking for a common timestamp
> formatter but in vain.
>
> I am using java 6 to make these calls.
>
> Pls let me know how to resolve this. Or is it a bug?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to