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


##########
arrow-array/src/timezone.rs:
##########
@@ -83,7 +83,21 @@ mod private {
         Timezone(chrono_tz::Tz),
         Offset(FixedOffset),
     }
-
+    use chrono::DateTime;
+    use chrono::Utc;
+    impl Tz {
+        /// get timezone
+        pub fn get_time_zone_min(&self) -> i32 {
+            match self.0 {
+                TzInner::Timezone(tz) => {
+                    let utc_datetime: DateTime<Utc> = Utc::now();

Review Comment:
   Sure, I was just looking for a function to convert the timezone to int32/64



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