Hiya. In the docs, it talks about a given country's list of TZs being organized geographically, and then by population.
Is the population data available? Could it be made so? Here's why: I'm using javascript to get a UTC offset. And then using that offset, along with the country that the user's selected, to attempted to guess at the correct timezone. The code only has one axis to work on -- how close the offset is. As such, it automatically grabs the very first entry that matches. In the case of Canada, a GMT-4 shows us as "Blanc-Sablon" rather than, say, Montreal or Toronto. If the population data were to be available, I'd use that to sort all of the matches and choose the most populous one. Thanks, sanjay -- The world tends to work out for me. I try to give it reason to. _______________________________________________ TZInfo-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/tzinfo-users
