oleaut32: Add two tests of function VarDateFromStr for German date format.
This commit is contained in:
parent
af8348c5b7
commit
3ca49a10d8
|
@ -3434,6 +3434,11 @@ static void test_VarDateFromStr(void)
|
||||||
DFS("1/2/1970"); EXPECT_DBL(25570.0);
|
DFS("1/2/1970"); EXPECT_DBL(25570.0);
|
||||||
DFS("1-2-1970"); EXPECT_DBL(25570.0);
|
DFS("1-2-1970"); EXPECT_DBL(25570.0);
|
||||||
/* Native fails "1999 January 3, 9AM". I consider that a bug in native */
|
/* Native fails "1999 January 3, 9AM". I consider that a bug in native */
|
||||||
|
|
||||||
|
/* test a none english data string */
|
||||||
|
DFS("02.01.1970 00:00:00"); EXPECT_MISMATCH;
|
||||||
|
lcid = MAKELCID(MAKELANGID(LANG_GERMAN,SUBLANG_GERMAN),SORT_DEFAULT);
|
||||||
|
DFS("02.01.1970 00:00:00"); todo_wine EXPECT_DBL(25570.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_VarDateCopy(void)
|
static void test_VarDateCopy(void)
|
||||||
|
|
Loading…
Reference in New Issue