Commit da27bb59 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

oleaut32/tests: Skip the named time tests for locales that use the 24 hour clock.

parent 6e123f3c
...@@ -310,10 +310,10 @@ static void test_VarFormat(void) ...@@ -310,10 +310,10 @@ static void test_VarFormat(void)
} }
/* Named time formats */ /* Named time formats */
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_STIME, buff, sizeof(buff)/sizeof(char)); GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_STIMEFORMAT, buff, sizeof(buff)/sizeof(char));
if (buff[0] != ':' || buff[1]) if (strcmp(buff, "h:mm:ss tt"))
{ {
skip("Skipping namedtime tests as time separator is '%s'\n", buff); skip("Skipping named time tests as time format is '%s'\n", buff);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment