[libcxx-commits] [libcxx] [libc++] Fixes time formatter test output for Linux on PowerPC (PR #75526)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 14 13:56:00 PST 2023


================
@@ -821,7 +821,9 @@ static void test_valid_values_date_time() {
   // Use the global locale (fr_FR)
   check(
 // https://sourceware.org/bugzilla/show_bug.cgi?id=24054
-#if defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
+#if defined(__powerpc__) && defined(__linux__)
+      SV("%c='jeu. 01 janv. 1970 00:00:00 UTC'\t%Ec='jeu. 01 janv. 1970 00:00:00 UTC'\n"),
----------------
EricWF wrote:

Is the only difference here the time zone? That seems like the locale on your machine is configured differently. 

https://github.com/llvm/llvm-project/pull/75526


More information about the libcxx-commits mailing list