@JSONField时间格式不兼容了
Open
question
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
2.0.16版本字段@JSONField(format = "yyyy-MM-dd HH:mm:ss"),提交的表单字段格式yyyy-MM-dd HH:mm还能提交,2.0.48必须格式要求yyyy-MM-dd HH:mm:ss这种一定要一样了,如果兼容yyyy-MM-dd HH:mm
Contributor guide
Research direction
Reproduce the reported @JSONField(format = "yyyy-MM-dd HH:mm:ss") behavior with versions 2.0.16 and 2.0.48, using an input value formatted as yyyy-MM-dd HH:mm. Trace the date-field deserialization path and add a regression test if the behavior is confirmed. Done means the shorter input is accepted compatibly with 2.0.16, or the supported format change is explicitly established.
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