http://bugs.winehq.org/show_bug.cgi?id=1855
------- Additional Comments From martin-fuchs@gmx.net 2005-01-10 08:41 ------- The problem seems to be fixed already - the current code looks like this, and takes into account hour, minutes, and seconds:
/* convert to seconds */ limit_day = ((limit_day * 24 + compareDate->wHour) * 60 + compareDate->wMinute ) * 60; dayinsecs = ((date->wDay * 24 + date->wHour) * 60 + date->wMinute ) * 60 + date->wSecond; /* and compare */ return dayinsecs < limit_day ? -1 : dayinsecs > limit_day ? 1 : 0; /* date is equal to the date limit. */