[Wine]Time zone info problems...

Mark Knecht
Mon, 01 Nov 2004 11:31:00 -0000

Hi,
   Installed Caesar 3 this morning under wine-20041019. C3 has worked
for a long time, but doesn't work under this version due to, of all
things, time zone information that's missing???

caesar@flash caesar $ wine .wine/drive_c/SIERRA/Caesar3/c3.exe
fixme:ntdll:TIME_GetTZAsStr Can't match system time zone name
"PST" to
an entry in TZ_INFO
fixme:ntdll:TIME_GetTZAsStr  Please add appropriate entry to TZ_INFO
and submit as patch to wine-patches
fixme:ntdll:TIME_GetTZAsStr Can't match system time zone name
"PST" to
an entry in TZ_INFO
fixme:ntdll:TIME_GetTZAsStr  Please add appropriate entry to TZ_INFO
and submit as patch to wine-patches
caesar@flash caesar $

Some Googling led me to a file ntdll/time.c which is not the most
readable beast, but none the less does seem to be missing the PST
entry:

 {"PDT",

{'P','a','c','i','f','i','c','
','S','t','a','n','d','a','r','d','
','T',
     'i','m','e','\0'}, 420, 1},

vs.

   {"EDT",

{'E','a','s','t','e','r','n','
','S','t','a','n','d','a','r','d','
','T',
     'i','m','e','\0'}, 240, 1},
   {"EST",
    {'U','S','
','E','a','s','t','e','r','n','
','S','t','a','n','d','a','r',
     'd','
','T','i','m','e','\0'}, 300, 0},


So then two questions:

1) I should create a new entry

{"PDT",

{'P','a','c','i','f','i','c','
','S','t','a','n','d','a','r','d','
','T',
     'i','m','e','\0'}, 480, 1},

60 minutes higher than the 420 that's currently in the one entry and
recompile Wine? (Why, or why are little things like this not handled?)

2) Shouldn't EDT be 'Eastern Daylight Time' and not 'Eastern
Strandard
Time'? (Same change to PDT actually...)

Thanks,
Mark