Skip to content

Commit

Permalink
Adjust locales
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 4, 2025
1 parent eeb0756 commit 7944b92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/arrow/compute/kernels/scalar_temporal_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2156,8 +2156,9 @@ TEST_F(ScalarTemporalTest, StrftimeOtherLocale) {
["1970-01-01T00:00:59.123", "2021-08-18T15:11:50.456", null])";
#ifdef ARROW_WITH_MUSL
// musl-locales uses Capital case for month name.
// musl doesn't use "," for milliseconds separator.
const char* expected = R"(
["01 Janvier 1970 00:00:59,123", "18 Août 2021 15:11:50,456", null])";
["01 Janvier 1970 00:00:59.123", "18 Août 2021 15:11:50.456", null])";
#else
const char* expected = R"(
["01 janvier 1970 00:00:59,123", "18 août 2021 15:11:50,456", null])";
Expand Down

0 comments on commit 7944b92

Please sign in to comment.