Fix wxLocale::GetInfo() unit test under Cygwin
Use the French date format expected by Cygwin CRT which differs from the one used by MSVC. See #23782. (cherry picked from commit 15d7aaaa50c0e815a3d3b94dece365eaffe6653c)
This commit is contained in:
parent
423d5ee7bb
commit
f76ba198eb
@ -188,6 +188,10 @@ void IntlTestCase::DateTimeFmtFrench()
|
||||
static const char *FRENCH_DATE_FMT = "%d.%m.%Y";
|
||||
static const char *FRENCH_LONG_DATE_FMT = "%a %e %b %Y";
|
||||
static const char *FRENCH_DATE_TIME_FMT = "%a %e %b %X %Y";
|
||||
#elif defined(__CYGWIN__)
|
||||
static const char *FRENCH_DATE_FMT = "%d/%m/%Y";
|
||||
static const char *FRENCH_LONG_DATE_FMT = "%a %e %b %Y";
|
||||
static const char *FRENCH_DATE_TIME_FMT = "%a %e %b %Y %H:%M:%S";
|
||||
#else
|
||||
static const char *FRENCH_DATE_FMT = "%d/%m/%Y";
|
||||
static const char *FRENCH_LONG_DATE_FMT = "%A %d %B %Y";
|
||||
|
Loading…
Reference in New Issue
Block a user