Lordworms commented on code in PR #5605:
URL: https://github.com/apache/arrow-rs/pull/5605#discussion_r1556449023


##########
arrow-array/src/array/primitive_array.rs:
##########
@@ -1366,7 +1366,13 @@ impl<T: ArrowTimestampType> PrimitiveArray<T> {
 
     /// Construct a timestamp array with new timezone
     pub fn with_timezone(self, timezone: impl Into<Arc<str>>) -> Self {
-        self.with_timezone_opt(Some(timezone.into()))
+        let timezone_str = timezone.into().to_lowercase();
+
+        if timezone_str == "utc" {

Review Comment:
   I need this to help transfer timezone str to corresponding Tz



-- 
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