Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de writes:
@@ -3419,6 +3419,16 @@ 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 */
- /* some tests for the german locale */
- lcid = MAKELCID(MAKELANGID(LANG_GERMAN,SUBLANG_GERMAN),SORT_DEFAULT);
- DFS("1.2.1970"); EXPECT_DBL(25600.0);
- /* Unusual format in German locale, but accepted by native oleaut32*/
- DFS("1-2-1970"); EXPECT_DBL(25600.0);
- DFS("01.02.1970"); EXPECT_DBL(25600.0);
- DFS("1. Februar 1970"); EXPECT_DBL(25600.0);
- DFS("1. Feb. 1970"); EXPECT_DBL(25600.0);
You should add test cases that fail in English and succeed in German and the other way around, otherwise it doesn't really tell us anything about which separators work in which language.