[PATCH 1/2] vbscript: Implemented Date(try 2)

Shuai Meng mengshuaicalendr at gmail.com
Sun Aug 24 10:44:11 CDT 2014


Thank you for commenting~


2014-08-23 23:45 GMT+08:00 Nikolay Sivov <nsivov at codeweavers.com>:

> On 8/23/2014 19:38, Shuai Meng wrote:
>
>> +    GetLocalTime(&lt);
>> +    ud.st = lt;
>> +    VarDateFromUdateEx(&ud, 0, VAR_DATEVALUEONLY, &date);
>> +    return return_date(res, date);
>>
> It's better to init 'wDayOfYear' part too, even if it's not used
> internally +variant will show its garbage value.

I will check this.

> Also I'm not sure about ignoring return value of VarDateFromUdateEx().
>
>
> I am not sure as well , but maybe it's better to add it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140824/18e78083/attachment.html>


More information about the wine-devel mailing list