Times are always converted to system timezone, even tough zone information is included in the timestamp
还没有人认领这个 Issue。
评估
调研方向
Start in src/main/java/org/entur/siri/adapter/ZonedDateTimeAdapter.java around line 49 and inspect how the parsed timestamp is converted to ZoneId.systemDefault(). Confirm the expected behavior for timestamps containing agency zone information, then verify that the resulting ZonedDateTime preserves that zone instead of using the local system timezone.
由索引模型根据 Issue 内容生成。
描述
In the ZonedDateTimeAdapter, the parsed time is always converted to ZoneId.systemDefault() using withZoneSameInstant, which results in the wrong time zone, when the local time zone differs from the time zone used by the agency.
- 主要语言
- XSLT
- 星标
- 10
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
entur/siri-java-model 的其他 Issue
-
难度 5/5 一周以上 新手友好度 30/100
entur/siri-java-model#37 ·
-
难度 4/5 3-5 天 新手友好度 30/100
entur/siri-java-model#32 ·
-
难度 5/5 一周以上 新手友好度 20/100
entur/siri-java-model#29 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
entur/siri-java-model#1 ·
查看 entur/siri-java-model 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
collective/icalendar#1854 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
rancher/rancher-ai-agent#412 ·
维护者通常 6 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
apache/arrow-java#1311 ·
维护者通常 2 天内回复
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 64/100
opentok/Opentok-Python-SDK#272 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/earth2studio#1203 ·
维护者通常 2 天内回复