Fix date/time format unit test under FreeBSD

Expect French date/time formats actually used there (at least under
French 13), as they're different from the ones used by glibc under
Linux.
This commit is contained in:
Vadim Zeitlin 2022-06-23 21:57:05 +02:00
parent cffbea5a0f
commit a9d3ef2539

View File

@ -182,6 +182,10 @@ void IntlTestCase::DateTimeFmtFrench()
#endif
static const char *FRENCH_LONG_DATE_FMT = "%a %d %b %Y";
static const char *FRENCH_DATE_TIME_FMT = "%a %d %b %Y %H:%M:%S";
#elif defined(__FREEBSD__)
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";
#else
static const char *FRENCH_DATE_FMT = "%d/%m/%Y";
static const char *FRENCH_LONG_DATE_FMT = "%A %d %B %Y";