[Cosmo-dev] Re: [Design] Design] [Cosmo] Login-related workflows update

Jeremy Epstein eggfree at eggfree.net
Tue Nov 14 13:34:25 PST 2006


>From Priscilla's original post:

>/ + Does the user get assigned a default timezone based on their IP  
/>/ address?
/So first, the Cosmo user would have an account and is logged in. This  
happens when the Cosmo user first selects and turns on time-zone  
support. The first item in the drop down is based on whatever their  
computer is set to, not based on the IP address. I have been informed  
that Cosmo the web client can get the time-zone from the browser  
through javascript--Matthew correct me if I'm wrong here.

So there are three issues here (BTW I think we are actually in agreement on this)

1) is there a way to obtain the hour offset of the user's local machine (relative to UTC) aat the time they choose to enable timezone support? YES
2) using this offset is there a way to lookup and set a "good" (at least 80% accurate) default choice for timezone in a timezone dropdown. YEs
3) creation of a timezone dropdown based on some good reference data? YES -- you have a library for this.

If the user's machine couldn't give us a timezone offset (relative to utc) we couldn't even get in the ballpark.
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20061114/2ebb3276/attachment.html


More information about the cosmo-dev mailing list