plusplusjiajia opened a new pull request, #7577:
URL: https://github.com/apache/paimon/pull/7577

   Pin DateTimeFormatter to Locale.ENGLISH so RFC 1123 date headers are always 
in English regardless of JVM default locale. Add tests for Chinese and Japanese 
locales.
   
   ### Purpose                                                                  
                                                                                
                                                                                
         
                                                                                
                                                                                
                                                                                
           
   Fix locale-sensitive date formatting in `DLFOpenApiSigner`. The 
`DateTimeFormatter` for RFC 1123 dates was not pinned to `Locale.ENGLISH`, 
causing day/month names to be localized on non-English JVM locales (e.g. zh_CN, 
ja_JP), which breaks the Aliyun OpenAPI signature.                              
                                                                                
                                                                                
                               
                                                                                
                                                                                
                                                                                
           
   ### Tests                                                       
    Added two unit tests verifying correct English date output under Chinese 
(`Locale.CHINA`) and Japanese (`Locale.JAPAN`) locales.                         
                                                                                
             
      
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to