tustvold commented on code in PR #2909:
URL: https://github.com/apache/arrow-rs/pull/2909#discussion_r1001422622


##########
arrow-array/src/timezone.rs:
##########
@@ -0,0 +1,306 @@
+use arrow_schema::ArrowError;
+use chrono::format::{parse, Parsed, StrftimeItems};
+use chrono::FixedOffset;
+pub use private::{Tz, TzOffset};
+
+/// Parses a fixed offset of the form "+09:00"
+fn parse_fixed_offset(tz: &str) -> Result<FixedOffset, ArrowError> {
+    if tz.len() != 6 {

Review Comment:
   I'm not sure why we are so strict on this, `+0900` is a valid timezone, but 
there was an explicit test for this so :shrug: 



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