Skip to content

Commit 94de57c

Browse files
committed
GH-46197: [C++] Avoid using legacy timezone in tests
Most of these cases have been fixed by #46201 already but it seems we missed a couple of them.
1 parent 52704cb commit 94de57c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/arrow/compute/kernels/scalar_temporal_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,10 +2175,10 @@ TEST_F(ScalarTemporalTest, StrftimeCLocale) {
21752175
string_milliseconds, &options);
21762176
CheckScalarUnary("strftime", timestamp(TimeUnit::MICRO, "Asia/Kolkata"), microseconds,
21772177
utf8(), string_microseconds, &options);
2178-
CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "US/Hawaii"), nanoseconds,
2178+
CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "Pacific/Honolulu"), nanoseconds,
21792179
utf8(), string_nanoseconds, &options);
21802180

2181-
CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "US/Hawaii"), nanoseconds,
2181+
CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "Pacific/Honolulu"), nanoseconds,
21822182
utf8(), string_locale_specific, &options_locale_specific);
21832183
}
21842184

0 commit comments

Comments
 (0)