Show date format in locale pseudo-test too
In addition to the decimal separator, show the date format for the current locale too in wxUILocale::ShowSystem pseudo-test to check that this works as expected.
This commit is contained in:
parent
00b2d27224
commit
38a0a72b71
1 changed files with 4 additions and 2 deletions
|
|
@ -468,10 +468,12 @@ wxString GetLocaleDesc(const char* when)
|
|||
else
|
||||
decsep = wxString::Format("UNKNOWN (%s)", decsep);
|
||||
|
||||
return wxString::Format("%s\ncurrent locale:\t%s (decimal separator: %s)",
|
||||
return wxString::Format("%s\ncurrent locale:\t%s "
|
||||
"(decimal separator: %s, date format=%s)",
|
||||
when,
|
||||
locid.IsEmpty() ? wxString("NONE") : locid.GetTag(),
|
||||
decsep);
|
||||
decsep,
|
||||
curloc.GetInfo(wxLOCALE_SHORT_DATE_FMT));
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue