As you might know, Argentina has changed its timezone today from GMT-4 GMT-3 to GMT-2; as a result, Apple’s World Clock dashboard widget does not (currently) show the correct time for our preferred tango+asado+soccer city.
This happens because the code of this widget calls the “TimeZoneInfo.currentTimeForTimeZone” method (line 582 of the World Clock.js file), which is provided by the runtime, and thus you have to wait until Apple provides a fix for it (please correct me if I’m wrong!).
Since Dashboard Widgets are JavaScript-based, I’ve copied it and created a new one with a small fix in lines 18 and 581 of the World Clock.js file, which makes it show the correct time for my birth city. Of course, this will change in March (when Buenos Aires falls back from GMT-2 to GMT-3) so you might want to fall back to the default World Clock widget when that happens (or when Apple fixes the time zone information in Mac OS X).
You can download the widget! As always, I’m not responsible of any problem it might bring to your system (in mine it works fine though!).
Before and after:
|
|
This was effectively my first time dealing with Dashboard Widgets (something I wanted to do for some time…) I hope to create a real one soon!
Similar Posts:

6 Comments
12.30.2007
Gracias!!!
(Una cosa que no entiendo: si el cambio fue de —4 a —2, no deberia cambiar dos horas?)
12.30.2007
Sorry, but “As you might know, Argentina has changed its timezone today from GMT-4 to GMT-2;” is wrong. “Argentina has changed its timezone today from GMT-3 to GMT-2″ is better instead. :-)
Cheers!
Marcelo
12.30.2007
Gracias a Marcelo! Igual es un quilombo eso de los cambios de horario; era uno de los ultimos baluartes de coherencia que tenia Argentina… y se perdio para siempre, como Terrabusi, como el Rasti, como el Bazooka jirafa.
Feliz Año Nuevo para todos!!!
01.11.2008
Hola a todos! acá hay un fix para arreglar el problema:
http://quadion.blogspot.com/2008/01/mac-os-x-horario-de-verano-en-argentina.html
Saludos.
01.07.2010
Hello,
I have similar problem and I just downloaded you clock and found that it show the same wrong time in Buenos Aires that the Apple one shows. Do I need to do something else then just install it and choose the city?
Thank you,
Shai
01.07.2010
The problem is Argentina which keeps changing its daylight policy every 2 years. I suppose Apple will fix this in a future release of the OS.
Commenting