Skip to content

Commit b081210

Browse files
authored
GH-46197: [C++] Avoid using legacy timezone in tests (#47879)
### Rationale for this change Most of these cases have been fixed by #46201 already but it seems we missed a couple of them. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #46197 Authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
1 parent b808fbb commit b081210

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)