Conversion from python `datetime.datetime` to julia `DateTime` is lossy
Ouverte
- Langage dominant
- Julia
- Étoiles
- 1.5k
- Forks
- 186
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- julia, python
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100