Search the web
Sign In
New User? Sign Up
fireeagle · Fire Eagle
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
"timezone" access level?   Message List  
Reply | Forward Message #764 of 1422 |
Re: [fireeagle] "timezone" access level?

Hi Turadg.

This is something I've been meaning to do for quite a while. It will
return a "timezone" element on the "location-hierarchy" element
containing something recognizable by tzinfo (e.g. America/Los_Angeles)
IF the application has been authorized at the city level or higher.
In the JSON responses, it would show up as "timezone" under user.
E.g.:
{ "user": { ..., "token": "blah", "timezone": "America/Los_Angeles" } }

I'd totally dig an app that reset the timezone of my laptop when I
opened it up for the first time in a new place.

I'll document this theoretical behavior and get it up tomorrow. ;-)

seth

On Wed, Aug 20, 2008 at 6:54 PM, Turadg Aleahmad <turadg@...> wrote:
> Have you given any thought to offering a "timezone" access level in
> the API? I know it doesn't fit into the hierarchy well and it
> requires calculating the timezone from the location, but it would open
> up some interesting applications.
>
> e.g. I'd like my calendars, iCal/OSX and Google Calendar, to update
> their timezones when my Fire Eagle learns I'm in a new time zone.
>
> It's pretty easy to get a timezone from a ZIP, in the US. I don't
> know how to convert Town or Regional to timezone. But for an
> application interested only in time zone, it would be helpful to the
> user to only grant that level of access and helpful to the developer
> by saving them the location->timezone conversion. Adding this access
> level and calculation into the API could lead to a new set of
> compelling applications built on your system.
>
> -Turadg
>
>



Thu Aug 21, 2008 4:59 am

fesz
Offline Offline
Send Email Send Email

Forward
Message #764 of 1422 |
Expand Messages Author Sort by Date

Have you given any thought to offering a "timezone" access level in the API? I know it doesn't fit into the hierarchy well and it requires calculating the...
Turadg Aleahmad
turadg
Offline Send Email
Aug 21, 2008
1:54 am

Hi Turadg. This is something I've been meaning to do for quite a while. It will return a "timezone" element on the "location-hierarchy" element containing...
Seth Fitzsimmons
fesz
Offline Send Email
Aug 21, 2008
4:59 am

... Be careful what you wish for :-) Intemperate (sorry) changing of timezones can break more things than it fixes......
Chris Kantarjiev
kantarjiev
Offline Send Email
Aug 21, 2008
5:17 pm

... Seth The only problem I have with the semantic approach you give an example of above, is that it doesn't help enough. For example, I am from the UK, never...
tones_space
Offline Send Email
Aug 21, 2008
7:28 pm

... The timezones returned aren't totally random; they correspond to the zoneinfo database, so anything that's linked to (or supports) libc's timezone...
Seth Fitzsimmons
fesz
Offline Send Email
Aug 21, 2008
8:30 pm

... I quite like the approach of the earthtools web service for handling this, as an example take a look at the results for LA: ...
tones_space
Offline Send Email
Aug 21, 2008
9:01 pm

Hello, could someone please point me toward an easy solution on how to calculate local time from timezone and timestamp? A couple of EagleFeed users requested...
richard_metzler
Offline Send Email
Nov 12, 2008
10:36 pm

Hi Richie. The simplest way is to lean on your OS's TZ implementation: $ TZ=America/New_York date -r 1226531571 tz is the database that most systems seem to...
Seth Fitzsimmons
fesz
Offline Send Email
Nov 12, 2008
11:16 pm

EagleFeed is running on Google AppEngine / Python, that's why your approach won't work. But I found http://pytz.sourceforge.net/ which seems to do what I want....
richard_metzler
Offline Send Email
Nov 12, 2008
11:51 pm

Seth, That sounds perfect. To update the timezone on Leopard with that timezone info is as simple as, $ systemsetup -settimezone America/Los_Angeles On Linux...
Turadg Aleahmad
turadg
Offline Send Email
Aug 22, 2008
2:32 am

Hi Turadg / Seth, If you want to make an OS X app to do this I've been working on a Cocoa Framework that will handle all the authentication and interaction...
George Brocklehurst
x_george_x
Offline Send Email
Aug 23, 2008
8:40 pm

Any updates on this?...
Turadg Aleahmad
turadg
Offline Send Email
Sep 5, 2008
1:43 pm

Oh, sorry, I forgot to post back to the list. Timezone is now available as part of a user's location (as described below). seth...
Seth Fitzsimmons
fesz
Offline Send Email
Sep 5, 2008
3:04 pm

Ah cool. I've written a Java desktop app that does the OAuth and makes a query to the /user API. I called it "Fire Eagle time zone updater" or Fetzu, and put...
Turadg Aleahmad
turadg
Offline Send Email
Sep 8, 2008
4:08 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help