Skip to content

Add @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss+HHmm") to Date in EventCommit #1152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aifuqiang02 opened this issue Aug 14, 2024 · 2 comments

Comments

@aifuqiang02
Copy link

aifuqiang02 commented Aug 14, 2024

Google translation:

As the title says, add @jsonformat(pattern = "yyyy-MM-dd'T'HH:mm:ss+HHmm") to Date in EventCommit class

The project uses yyyy-MM-dd HH:mm:ss by default, and an error will be reported when receiving an object.


original message:

如题EventCommit 类中的Date 增加@jsonformat(pattern = "yyyy-MM-dd'T'HH:mm:ss+HHmm")
项目中默认使用yyyy-MM-dd HH:mm:ss , 接收对象时会报错。

@jmini jmini changed the title EventCommit 类中的Date 增加@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss+HHmm") Add @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss+HHmm") to Date in EventCommit Dec 24, 2024
@jmini
Copy link
Collaborator

jmini commented Dec 24, 2024

@bdgould is working on this as part of #1198

@jmini
Copy link
Collaborator

jmini commented Mar 18, 2025

Also related: with #1223 we have tried to be more consistent on the Date types that are in the format yyyy-MM-dd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants