https://bugs.winehq.org/show_bug.cgi?id=47221
--- Comment #5 from jcl jcl@conitec.net --- Thank you for looking into this. I partially fixed the problem by replacing
Time.GetHour()
with
double Days; double Hour = modf(Time.m_dt,&Days)*24.; if(Hour >= 24.) Hour = 0.; return (int)Hour;
This partially helped, but something is still different. The simplest way to see the problem is using this code:
--- snip --- function run() { Verbose = 2; set(LOGFILE); } --- snip ---
This will print a list of dates to the .log file. When you compare the log files from Windows and from Wine with a comparison tool, like BeyondCompare, you can see the differences in the dates.