This is an automated email from the ASF dual-hosted git repository.

apitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new b081210510 GH-46197: [C++] Avoid using legacy timezone in tests 
(#47879)
b081210510 is described below

commit b081210510775ce6c720b9123b18bc0e035cef81
Author: Antoine Pitrou <[email protected]>
AuthorDate: Tue Oct 21 11:02:11 2025 +0200

    GH-46197: [C++] Avoid using legacy timezone in tests (#47879)
    
    ### Rationale for this change
    
    Most of these cases have been fixed by 
https://github.com/apache/arrow/pull/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]>
---
 cpp/src/arrow/compute/kernels/scalar_temporal_test.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpp/src/arrow/compute/kernels/scalar_temporal_test.cc 
b/cpp/src/arrow/compute/kernels/scalar_temporal_test.cc
index 236e641b3e..3350fb805c 100644
--- a/cpp/src/arrow/compute/kernels/scalar_temporal_test.cc
+++ b/cpp/src/arrow/compute/kernels/scalar_temporal_test.cc
@@ -2175,10 +2175,10 @@ TEST_F(ScalarTemporalTest, StrftimeCLocale) {
                    string_milliseconds, &options);
   CheckScalarUnary("strftime", timestamp(TimeUnit::MICRO, "Asia/Kolkata"), 
microseconds,
                    utf8(), string_microseconds, &options);
-  CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "US/Hawaii"), 
nanoseconds,
+  CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "Pacific/Honolulu"), 
nanoseconds,
                    utf8(), string_nanoseconds, &options);
 
-  CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "US/Hawaii"), 
nanoseconds,
+  CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "Pacific/Honolulu"), 
nanoseconds,
                    utf8(), string_locale_specific, &options_locale_specific);
 }
 

Reply via email to