AlenkaF commented on a change in pull request #12522:
URL: https://github.com/apache/arrow/pull/12522#discussion_r832321102
##########
File path: cpp/src/arrow/python/datetime.cc
##########
@@ -426,8 +427,19 @@ Result<PyObject*> StringToTzinfo(const std::string& tz) {
return tzinfo;
}
+ if (internal::ImportModule("zoneinfo", &zoneinfo).ok()) {
+ RETURN_NOT_OK(internal::ImportModule("zoneinfo", &zoneinfo));
+
+ OwnedRef class_zoneinfo;
+ RETURN_NOT_OK(internal::ImportFromModule(zoneinfo.obj(), "ZoneInfo",
&class_zoneinfo));
Review comment:
Yes, I missed that. Will do 👍
--
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]