JuliaPy / JuliaPy/PyCall.jl

Conversion from python `datetime.datetime` to julia `DateTime` is lossy

オープン
#341 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
1.5k
フォーク
186
PR マージ指標
30日以内にマージされた PR はありません

説明

Python's `datetime.datetime` type contains timezone info in the `tzinfo` attribute that gets lost when converting to julia's `DateTime`. It might be better to use `ZonedDateTime` if `tzinfo` is populated.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by tracing PyCall.jl's conversion handling for Python datetime.datetime and Julia DateTime. Check how a populated tzinfo should map to ZonedDateTime, while preserving behavior for datetimes without timezone information; the issue is done when timezone data is no longer lost and the conversion behavior is covered by tests.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。