help needed with non-US time zones for clock applet
(Specifically, if you live in [or are knowledgeable about] AR, AU, BR, CA, CN, CD, GL, ID, KZ, MY, MX, RU, UA, or UZ, please read this. Thanks :) Vincent has just committed the patches to fix the "clock applet guesses the wrong timezone" bug, but this relies on libgweather/data/Locations.xml.in having the correct timezones listed for various places. For large countries that span multiple timezones, it takes some work to get this right. I spent a while getting the US right, and I did some investigation on most of the others, but there are still places where the information is wrong (especially in the non-English-speaking countries, which it was harder for me to find reliable information about). Specifically: - Argentina: /usr/share/zoneinfo/zone.tab lists 11 zones, though Wikipedia claims that there is only a single zone for the entire country. It's possible that the other 10 zones reflect historical distinctions that are no longer relevant. I assigned the whole country to America/Argentina/Buenos_Aires. Is this right? - Australia: I assigned a timezone to each in AU, but /usr/share/zoneinfo/zone.tab has multiple zones for most states, so some entries on the edges of states may need to override the inherited from their state. - Brazil: /usr/share/zoneinfo/zone.tab lists 15 zones. I did not even bother trying to figure them out, and assigned the whole country to America/Sao_Paulo. - Canada: I assigned a timezone to each , and split things up further within states in a few cases where it was easy to distinguish timezones by longitude. Still needs some tweaking around the edges. - China: 5 timezones listed, but everything I've seen says that only Asia/Shanghai is still in use. Right? (Taiwan and Hong Kong are listed separately.) - Democratic Republic of the Congo: 2 timezones. I assigned the whole country to Africa/Kinshasa - Greenland: 4 timezones, several locations. I assigned the whole country to America/Godthab - Indonesia: 4 timezones, somewhat guessable based on longitude. Probably not 100% right though - Kazakhstan: 5 timezones. A few of the s matched the name of a timezone, but the remaining ones got defaulted to Asia/Alamaty. - Malaysia: 2 timezones on widely separated islands, so I think I got these right just going by longitude. - Mexico: 8 timezones, many s, not divided into s, so I didn't even try sorting them out. Everything got America/Mexico_City - Russia: 15 timezones, many s. Everything got Europe/Moscow. - Ukraine: 4 timezones, Everything got Europe/Kiev - Uzbekistan: 2 timezones, Everything got Asia/Tashkent If you can provide better data for any of these, please check out libgweather, add lines to the appropriate , , or entries in data/Locations.xml.in (the has to come immediately after the <_name>; run "make check" when you're done to validate the XML), and submit a patch to the libgweather product on bugzilla.gnome.org. Thanks. -- Dan ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
Dan Winship wrote: > - China: 5 timezones listed, but everything I've seen says that > only Asia/Shanghai is still in use. Right? (Taiwan and Hong Kong > are listed separately.) > There is only a single time zone for th whole of China for many years, same for Hong Kong and Taiwan. (I remember Hong Kong used to have Summer and winter time when I was a little kid, but that was so long ago ..) > > - Indonesia: 4 timezones, somewhat guessable based on longitude. > Probably not 100% right though > I think this also a sigle time zone. > > > - Malaysia: 2 timezones on widely separated islands, so I think I > got these right just going by longitude. > > This is definitely a single time zone all alone. I was born on the east island :) -Ghee > ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
On 4/7/08, Ghee Teo <[EMAIL PROTECTED]> wrote: > > > > > > > > - Malaysia: 2 timezones on widely separated islands, so I think I > > got these right just going by longitude. > > > > > This is definitely a single time zone all alone. I was born on the > east island :) > > -Ghee > > > > Yup. Malaysia only have single timezone, which is GMT+8 Historically, we have 2 timezone with 30 minutes difference, but it has been changed I think more than 20 years ago. -- Sharuzzaman Ahmat Raslan ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
Hi Dan, There are 5 timezones in China, but there is only one official standard time, Beijing time, which is UTC+8. So I think your statement is correct. Officially, only 1 timezone is used and in almost all application it is listed as Asia/Shanghai which is the same with Beijing time. Regards, Jedy On Mon, 2008-04-07 at 12:05 -0400, Dan Winship wrote: > - China: 5 timezones listed, but everything I've seen says that > only Asia/Shanghai is still in use. Right? (Taiwan and Hong Kong > are listed separately.) > ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
Hi Dan, 2008/4/7, Dan Winship <[EMAIL PROTECTED]>: > - Brazil: /usr/share/zoneinfo/zone.tab lists 15 zones. I did not > even bother trying to figure them out, and assigned the whole > country to America/Sao_Paulo. There are 4 timezones in Brazil. Have a look at: http://wwp.greenwichmeantime.com/time-zone/america/brazil/ --lucasr ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
Lucas Rocha wrote: > Hi Dan, > > 2008/4/7, Dan Winship <[EMAIL PROTECTED]>: >> - Brazil: /usr/share/zoneinfo/zone.tab lists 15 zones. I did not >> even bother trying to figure them out, and assigned the whole >> country to America/Sao_Paulo. > > There are 4 timezones in Brazil. Have a look at: > > http://wwp.greenwichmeantime.com/time-zone/america/brazil/ Right, sorry, I didn't explain this fully in the email... (I'd spent a week dealing with it, so it was all obvious *to me*... :). The issue is that in order for the clock applet to be able to guess the right timezone for a location, someone has to go through and figure out which locations are in which timezones. Eg, Brazil has 44 cities (or at least "locations") listed: <_name>Brazil BR America/Sao_Paulo <_name>Bagé SBBG 31-21S 054-07W <_name>Belém America/Belem SBBE 01-23S 048-29W <_name>Belo Horizonte <_name>Confins Airport SBCF 19-56S 043-56W ... You can see here that I cleverly guessed that Belém is in the "America/Belem" timezone, but most of the locations don't have a specific guess, and so they're going to inherit the default from the entry. To get better guesses, someone would have to go through all 44 entries and assign the right to each one (using maps and google results, etc, to figure out which timezone each city is in). In the US, this was made a little bit easier by the fact that the Locations file already splits the US up by states, and most states are entirely in a single timezone, so I could just assign one to the whole . So if Brazil also has states or provinces, and if the time zone divisions fall mostly along the borders of those states/provinces, the easiest solution might be to split it up according to those first, and just assign s to the s. -- Dan ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
On Mon, 2008-04-07 at 12:05 -0400, Dan Winship wrote: > - Mexico: 8 timezones, many s, not divided into s, > so I didn't even try sorting them out. Everything got > America/Mexico_City Fixed all of Mexico (added states and capitals). I'm not sure if I got the Mexico/BajaNorte and Mexico/BajaSur timezones correctly; they are in my /usr/share/zoneinfo, but check_timezones.sh said they were invalid. Federico ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
Federico Mena Quintero wrote: > On Mon, 2008-04-07 at 12:05 -0400, Dan Winship wrote: > >> - Mexico: 8 timezones, many s, not divided into s, >> so I didn't even try sorting them out. Everything got >> America/Mexico_City > > Fixed all of Mexico (added states and capitals). I'm not sure if I got > the Mexico/BajaNorte and Mexico/BajaSur timezones correctly; they are in > my /usr/share/zoneinfo, but check_timezones.sh said they were invalid. tzdata includes lots of backward-compatibility links so as to not break systems using old names, but check_timezones.sh only accepts the current zone names (from zone.tab). In this case, Mexico/BajaNorte -> America/Tijuana, and Mexico/BajaSur -> America/Mazatlan. -- Dan ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
Le lundi 14 avril 2008 à 15:54 -0500, Federico Mena Quintero a écrit : > On Mon, 2008-04-07 at 12:05 -0400, Dan Winship wrote: > > > - Mexico: 8 timezones, many s, not divided into s, > > so I didn't even try sorting them out. Everything got > > America/Mexico_City > > Fixed all of Mexico (added states and capitals). I'm not sure if I got > the Mexico/BajaNorte and Mexico/BajaSur timezones correctly; they are in > my /usr/share/zoneinfo, but check_timezones.sh said they were invalid. > > Federico The problem is that libgweather didn't branch for 2.22 yet. So please, revert, branch and commit again :-) Thanks. Claude ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
On Tue, 2008-04-15 at 09:14 +0200, Claude Paroz wrote: > The problem is that libgweather didn't branch for 2.22 yet. So please, > revert, branch and commit again :-) Oops. Done :) Federico ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
On Mon, 2008-04-14 at 18:16 -0400, Dan Winship wrote: > tzdata includes lots of backward-compatibility links so as to not break > systems using old names, but check_timezones.sh only accepts the current > zone names (from zone.tab). In this case, Mexico/BajaNorte -> > America/Tijuana, and Mexico/BajaSur -> America/Mazatlan. Oh, I didn't know about zone.tab. Thanks, I fixed those up. I don't know what's up with all the other timezones; I'll ask some of my countrymen :) Federico ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: help needed with non-US time zones for clock applet
On Mon, 2008-04-14 at 15:54 -0500, Federico Mena Quintero wrote: > On Mon, 2008-04-07 at 12:05 -0400, Dan Winship wrote: > > > - Mexico: 8 timezones, many s, not divided into s, > > so I didn't even try sorting them out. Everything got > > America/Mexico_City > > Fixed all of Mexico (added states and capitals). I'm not sure if I got > the Mexico/BajaNorte and Mexico/BajaSur timezones correctly; they are in > my /usr/share/zoneinfo, but check_timezones.sh said they were invalid. I'm not sure about the criteria selected, but at least the guys in charge of tzdata uses as criteria the biggest city around, which not always is the capital or the state (in a federated nation). -- Germán Poó Caamaño Concepción - Chile ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n