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


##########
arrow-json/src/writer.rs:
##########
@@ -925,7 +923,67 @@ mod tests {
 
         assert_json_eq(
             &buf,
-            r#"{"nanos":"2018-11-13 17:11:10.011375885","micros":"2018-11-13 
17:11:10.011375","millis":"2018-11-13 17:11:10.011","secs":"2018-11-13 
17:11:10","name":"a"}
+            
r#"{"micros":"2018-11-13T17:11:10.011375","millis":"2018-11-13T17:11:10.011","name":"a","nanos":"2018-11-13T17:11:10.011375885","secs":"2018-11-13T17:11:10"}
+{"name":"b"}
+"#,
+        );
+    }
+
+    #[test]
+    #[cfg(feature = "chrono-tz")]

Review Comment:
   This test should work even with chrono-tz disabled, this is only needed to 
parse timezones like `UTC`



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