alibaba / alibaba/fastjson2

[BUG]

Open
#1,639 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

### 问题描述
*简要描述您碰到的问题。*
带时区反序列化,没有转成当前时区

### 环境信息
*请填写以下信息:*

- OS信息: [e.g.:CentOS 8.4.2105 4Core 3.10GHz 16 GB]
- JDK信息: [e.g.:Openjdk 1.8.0_312]
- 版本信息:[e.g.:Fastjson2 2.0.35]

### 重现步骤
"entryDate":"2023-06-30T16:00:00.000Z"
转换正常应该是
"entryDate":"2023-07-01 00:00:00.000"

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing deserialization of the supplied ISO-8601 timestamp with the relevant timezone settings, then compare the result with the expected local-time value. Done means the timestamp is converted to the current timezone without breaking other date deserialization cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.