From: Renato S. <br....@gm...> - 2012-10-21 03:10:45
|
2012/10/20 Renato Silva <br....@gm...> > > > 2012/10/18 Earnie Boyd <ea...@us...> > >> On Wed, Oct 17, 2012 at 5:20 PM, Renato Silva wrote: >> >> >> >> Wed Oct 17 13:06:51 EDT 2012 >> >> >> >> and that coincides with the display of the clock on the taskbar. >> > >> > Weird! And date is even naming your timezone (EDT). In my case without >> TZ my >> > timezone shows as GMT in date, both in Windows XP and 7, 3 hours forward >> > taskbar clock which is BRT. >> > >> > So folks just tell me your secrets and what's going wrong here :-/ >> >> MSYS uses the GetTimeZoneInformation windows API. Create a program to >> determine what it returns. You might create another to >> SetTimeZoneInformation. >> >> > Ok, so here is my program: http://pastie.org/5089934. Surprisingly, in > Windows 7 it says my timezone is "H". > Sorry, I forgot to break on TIME_ZONE_ID_DAYLIGHT, it is fixed here: http://pastie.org/5091609. My country switched to DST right now, but the timezone returned by WIndows API is still this weird "H". > > I have found timezones registry key and mine is not missing: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\Time Zones\E. South America Standard Time, and it looks > alright. So I have no idea what's happening here. > > How about your machines, what does this program say for your timezones, > and if you temporarily switch to Brasília (UTC-03:00) from control panel? > > >> -- >> Earnie >> -- https://sites.google.com/site/earnieboyd >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_sfd2d_oct >> _______________________________________________ >> MinGW-users mailing list >> Min...@li... >> >> This list observes the Etiquette found at >> http://www.mingw.org/Mailing_Lists. >> We ask that you be polite and do the same. Disregard for the list >> etiquette may cause your account to be moderated. >> >> _______________________________________________ >> You may change your MinGW Account Options or unsubscribe at: >> https://lists.sourceforge.net/lists/listinfo/mingw-users >> Also: mailto:min...@li... >> ?subject=unsubscribe >> > > |