From db227bf8936d15da25543d1ddc6f5590166c942f Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 3 Apr 2009 18:05:57 +0000 Subject: [PATCH] adjusting DATE_TIME_FMT on OS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/intl/intltest.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/intl/intltest.cpp b/tests/intl/intltest.cpp index 37c405490b..a63739d3e4 100644 --- a/tests/intl/intltest.cpp +++ b/tests/intl/intltest.cpp @@ -158,7 +158,11 @@ void IntlTestCase::DateTimeFmtFrench() #else static const char *FRENCH_DATE_FMT = "%d/%m/%Y"; static const char *FRENCH_LONG_DATE_FMT = "%A %d %B %Y"; +#ifdef __WXOSX__ + static const char *FRENCH_DATE_TIME_FMT = "%A %d %B %Y %H:%M:%S"; +#else static const char *FRENCH_DATE_TIME_FMT = "%d/%m/%Y %H:%M:%S"; +#endif #endif CompareFormats( "French short date", FRENCH_DATE_FMT, @@ -181,7 +185,11 @@ void IntlTestCase::DateTimeFmtC() #else static const char *C_DATE_FMT = "%d/%m/%Y"; static const char *C_LONG_DATE_FMT = "%A %d %B %Y"; +#ifdef __WXOSX__ + static const char *C_DATE_TIME_FMT = "%A %d %B %Y %H:%M:%S"; +#else static const char *C_DATE_TIME_FMT = "%d/%m/%Y %H:%M:%S"; +#endif #endif setlocale(LC_ALL, "C");