You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Michael Sterling (Jira)" <ji...@apache.org> on 2022/10/28 22:03:00 UTC

[jira] [Commented] (ARROW-16054) [Python] Use tzdata timezone database on Windows

    [ https://issues.apache.org/jira/browse/ARROW-16054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625930#comment-17625930 ] 

Michael Sterling commented on ARROW-16054:
------------------------------------------

It's very possible I'm missing something but would it be possible to enable the setting a timezone-path for Python as well even if users have to figure out how to get the timezone database in the correct format?

> [Python] Use tzdata timezone database on Windows
> ------------------------------------------------
>
>                 Key: ARROW-16054
>                 URL: https://issues.apache.org/jira/browse/ARROW-16054
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>    Affects Versions: 7.0.0
>            Reporter: Will Jones
>            Priority: Major
>
> In ARROW-13168, we enabled setting the path of the text-based database engine at runtime. This allowed R to use the tzdb package for the timezone database, since it uses the text format.
> However, it doesn't seem like tzdata Python package ships that text format. They do have [a "compact" text format|https://github.com/python/tzdata/blob/master/src/tzdata/zoneinfo/tzdata.zi], which _might_ be compatible with our vendored date library. Otherwise, we'd likely have to wait for binary format support in https://github.com/HowardHinnant/date/issues/564



--
This message was sent by Atlassian Jira
(v8.20.10#820010)