[2/2] shlwapi: Implement SHFormatDateTimeA/SHFormatDateTimeW with tests

Nikolay Sivov bunglehead at gmail.com
Fri Mar 5 04:55:09 CST 2010


On 3/5/2010 13:53, Paul Vriens wrote:
> On 03/05/2010 11:16 AM, Nikolay Sivov wrote:
>> On 3/1/2010 20:01, Paul Vriens wrote:
>>> On 03/01/2010 12:56 AM, Nikolay Sivov wrote:
>>>> Implement SHFormatDateTimeA/SHFormatDateTimeW with tests.
>>>>
>>>> Spotted in logs while testing IE6.
>>>>
>>> Hi Nikolay,
>>>
>>> This one introduces failures on what appears Vista+ :
>>>
>>> http://test.winehq.org/data/tests/shlwapi:ordinal.html
>>>
>>> Could you have a look?
>>>
>> Hi again.
>>
>> Just thought maybe you have an idea what's going on with it. I just
>> checked and it's definitely '?' 3f returned,
>> and the problem is in A-call only. Locale data is fine, cause we have
>> some Dutch boxes as you can see.
>
> Maybe MS is actually serious with the comment about GetTimeFormat 
> (http://msdn.microsoft.com/en-us/library/dd318130%28VS.85%29.aspx) 
> being deprecated.
>
> Did you try GetTimeFormatEx on Vista+ ?

>
> When the ANSI version of this function is used with a Unicode-only 
> locale identifier, the function can succeed because the operating 
> system uses the system code page. However, characters that are 
> undefined in the system code page appear in the string as a question 
> mark (?).
>
This is it, I'll try.



More information about the wine-devel mailing list