Fix wxLocale::GetInfo() unit test under Cygwin

Use the French date format expected by Cygwin CRT which differs from the
one used by MSVC.

Closes #23782.
This commit is contained in:
Carlo Bramini 2023-08-18 15:00:39 +02:00 committed by Vadim Zeitlin
parent 1bc8631b52
commit 15d7aaaa50

View file

@ -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";