I've attached the program that generated the timezone information. The information in the patch is derived from glibc's timezone information.
We could add the program to wine and generate the timezone information dynamically if necessary.
Mike
ChangeLog: Add timezone information to the registry.
tools/wine.inf | 715 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 714 insertions(+), 1 deletions(-)
Hi,
a short list:
win98 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones NT4 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones Win2K : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones W2k3 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones XP : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
Apart from that, what is 'Afghanistan' on win98, is 'Afghanistan Standard Time' on XP for example.
Cheers,
Paul.
Paul Vriens wrote:
win98 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones NT4 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones Win2K : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones W2k3 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones XP : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
I decided to put the TimeZones in what Wine called the %CurrentVersion% key. It's easy enough to change the program that generates the data to put them in Windows NT\CurrentVersion if that's what is decided to be correct.
While we're on the topic, should we add the timezone data extractor program to Wine and run it to generate the data from the user's machine at either build or run time, or manually update the information from time to time?
Mike
Mike McCormack mike@codeweavers.com writes:
I decided to put the TimeZones in what Wine called the %CurrentVersion% key. It's easy enough to change the program that generates the data to put them in Windows NT\CurrentVersion if that's what is decided to be correct.
In theory it should be under both, but for now we probably should put it under Windows NT only, until we find an app that depends on the Win9x location.
While we're on the topic, should we add the timezone data extractor program to Wine and run it to generate the data from the user's machine at either build or run time, or manually update the information from time to time?
I think updating it from time to time is fine, this way we can verify that the information is correct, and we don't depend on the user's setup.