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. |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "Design" mailing list http://lists.osafoundation.org/mailman/listinfo/design
