[Bug 47221] Zorro 2.x (time series analysis and trading strategies software) using OLE Date/Time API via MFC 'COleDateTime' class shows incorrect data
WineHQ Bugzilla
wine-bugs at winehq.org
Tue Jan 14 11:20:42 CST 2020
https://bugs.winehq.org/show_bug.cgi?id=47221
--- Comment #5 from jcl <jcl at 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.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list