On 4/14/2010 23:56, André Hentschel wrote:
Nikolay Sivov schrieb:
On 4/14/2010 22:51, André Hentschel wrote:
case 0x3: /* TTT TTTDD TTTDDD */
- if (iDate&& dp.dwCount == 3)
+ if (dp.dwCount == 3&& !strncmp(ShortDate,"dd.MM.yy",8))
case 0x1B
Nikolay Sivov schrieb:
> On 4/14/2010 22:51, André Hentschel wrote:
>> case 0x3: /* TTT TTTDD TTTDDD */
>> - if (iDate&& dp.dwCount == 3)
>> + if (dp.dwCount == 3&& !strncmp(ShortDate,"dd.MM.yy",8))
>>
>>
>
>> case 0x1B: /* localized DDDTTT */
>> - if (!iDate)
>> +
On 4/14/2010 22:51, André Hentschel wrote:
case 0x3: /* TTT TTTDD TTTDDD */
- if (iDate&& dp.dwCount == 3)
+ if (dp.dwCount == 3&& !strncmp(ShortDate,"dd.MM.yy",8))
case 0x1B: /* localized DDDTTT */
- if (!iDate)
+ if (strncmp(ShortDate,"dd.MM.yy",8))
André Hentschel writes:
> @@ -7708,7 +7708,7 @@ HRESULT WINAPI VarDateFromStr(OLECHAR* strIn, LCID
> lcid, ULONG dwFlags, DATE* pd
>break;
>
> case 0x1B: /* localized DDDTTT */
> - if (!iDate)
> + if (PRIMARYLANGID(lcid) != LANG_GERMAN)
Obviously you cannot hardcode spe