How do I get rid of these annoying time zone warnings?

Questions about Wine on Linux
Locked
DragonLore
Newbie
Newbie
Posts: 3
Joined: Sat Sep 01, 2018 2:22 pm

How do I get rid of these annoying time zone warnings?

Post by DragonLore »

Hello!

I think this "problem" I'm having is quite easy to fix, but I was only able to find workarounds on Google and not an actual solution.

My time zone is UTC-3 (I live in Brazil, Sao Paulo) and my time zone is already set accordingly:

Code: Select all

$ timedatectl status
               Local time: sáb 2018-09-01 16:28:29 -03
           Universal time: sáb 2018-09-01 19:28:29 UTC
                 RTC time: sáb 2018-09-01 19:28:29
                Time zone: America/Sao_Paulo (-03, -0300)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
But when I run almost any program on Wine, I get a bunch of warnings about my time zone (yes, I know they're harmless, but I still hope I can "fix" them):

Code: Select all

$ wine "Cheat Engine.exe"
000b:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 4/11/2018
000f:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 4/11/2018
0012:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 4/11/2018
001c:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 4/11/2018
0021:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 4/11/2018
0009:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 4/11/2018
002a:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 4/11/2018
002c:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 4/11/2018
002a:fixme:msg:ChangeWindowMessageFilter 49 00000001
002a:fixme:msg:ChangeWindowMessageFilter 233 00000001
002a:fixme:process:GetProcessWorkingSetSizeEx (0x98,0x1cbfcac,0x1cbfca8,(nil)): stub
0031:fixme:module:K32EnumProcessModulesEx (0xffffffff, (nil), 0, 0x35cfd54, 3) semi-stub
0031:fixme:module:K32EnumProcessModulesEx (0xffffffff, 0x1eb79e8, 136, 0x35cfd54, 3) semi-stub
0031:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
002a:fixme:ntdll:NtQuerySystemInformation (0x000000c4,0x1cbfc3c,0x00000004,0x1cbfc38) stub
002a:fixme:ver:GetCurrentPackageId (0x1cbf76c (nil)): stub
I'm aware there's a workaround:

Code: Select all

$ TZ=Europe/Berlin wine "Cheat Engine.exe"
0029:fixme:msg:ChangeWindowMessageFilter 49 00000001
0029:fixme:msg:ChangeWindowMessageFilter 233 00000001
0029:fixme:process:GetProcessWorkingSetSizeEx (0x98,0x1cbfcac,0x1cbfca8,(nil)): stub
0030:fixme:module:K32EnumProcessModulesEx (0xffffffff, (nil), 0, 0x35cfd54, 3) semi-stub
0030:fixme:module:K32EnumProcessModulesEx (0xffffffff, 0x1eb7a10, 136, 0x35cfd54, 3) semi-stub
0030:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0029:fixme:ntdll:NtQuerySystemInformation (0x000000c4,0x1cbfc3c,0x00000004,0x1cbfc38) stub
0029:fixme:ver:GetCurrentPackageId (0x1cbf76c (nil)): stub
But I'm hoping I can change something in the wine registry to actually fix this problem and, at the same time, keeping my time zone intact. Is it possible?

Any help is appreciated. Thank you!
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: How do I get rid of these annoying time zone warnings?

Post by dimesio »

What version of Wine are you using? There was an old bug about Brazilian timezones not being detected correctly, but that was fixed long ago. https://bugs.winehq.org/show_bug.cgi?id=32916

If you're seeing those messages in current Wine, please file a bug.
DragonLore
Newbie
Newbie
Posts: 3
Joined: Sat Sep 01, 2018 2:22 pm

Re: How do I get rid of these annoying time zone warnings?

Post by DragonLore »

I'm currently using wine-staging 3.14 on Arch Linux. I guess I'll have to file a bug then...

Thanks!
DragonLore
Newbie
Newbie
Posts: 3
Joined: Sat Sep 01, 2018 2:22 pm

Re: How do I get rid of these annoying time zone warnings?

Post by DragonLore »

Good news! This timezone bug has been fixed:

https://bugs.winehq.org/show_bug.cgi?id=45786
Locked