[twitter-dev] Re: utc_offset and dst

2009-04-03 Thread joshm

Now that I'm a bit futher into this, is it possible that we could
request that we get the actual Olson text string back when we request
the time zone?  If we don't get that it makes it inaccurate to get a
users actual local time...?

On Apr 2, 2:28 pm, joshm  wrote:
> Gotcha, thx.  I suppose I'm looking for a way to get the timezone from
> the utc_offset to take into account DST. Know of any way to do that?
>
> On Apr 2, 1:55 pm, Doug Williams  wrote:
>
> > Josh,
> > Timestamps are all based onUTC[1]. If you want to adjust the data in your
> > client to be representative of the user's registered timezone, you should
> > use the utc_offset [2] to transformation the timestamp accordingly.
>
> > 1.http://en.wikipedia.org/wiki/Coordinated_Universal_Time
> > 2.http://apiwiki.twitter.com/REST-API-Documentation#utcoffset
>
> > Doug Williams
> > Twitter API Supporthttp://twitter.com/dougw
>
> > On Thu, Apr 2, 2009 at 1:09 PM, joshm  wrote:
>
> > > Is it true that the status date created timestamp and timezone offset
> > > will give me the users local time (if they have their timezone
> > > setup)?  If so what about daylight savings time?
> > > I know we get the timezone in text, but is there a good way to map
> > > this timezone text to say python's pytz library?
>
>


[twitter-dev] Re: utc_offset and dst

2009-04-02 Thread joshm

Gotcha, thx.  I suppose I'm looking for a way to get the timezone from
the utc_offset to take into account DST. Know of any way to do that?

On Apr 2, 1:55 pm, Doug Williams  wrote:
> Josh,
> Timestamps are all based on UTC [1]. If you want to adjust the data in your
> client to be representative of the user's registered timezone, you should
> use the utc_offset [2] to transformation the timestamp accordingly.
>
> 1.http://en.wikipedia.org/wiki/Coordinated_Universal_Time
> 2.http://apiwiki.twitter.com/REST-API-Documentation#utcoffset
>
> Doug Williams
> Twitter API Supporthttp://twitter.com/dougw
>
> On Thu, Apr 2, 2009 at 1:09 PM, joshm  wrote:
>
> > Is it true that the status date created timestamp and timezone offset
> > will give me the users local time (if they have their timezone
> > setup)?  If so what about daylight savings time?
> > I know we get the timezone in text, but is there a good way to map
> > this timezone text to say python's pytz library?
>
>


[twitter-dev] utc_offset and dst

2009-04-02 Thread joshm

Is it true that the status date created timestamp and timezone offset
will give me the users local time (if they have their timezone
setup)?  If so what about daylight savings time?
I know we get the timezone in text, but is there a good way to map
this timezone text to say python's pytz library?