gitlab4j-api
gitlab4j-api copied to clipboard
Add @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss+HHmm") to Date in EventCommit
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 , 接收对象时会报错。
@bdgould is working on this as part of https://github.com/gitlab4j/gitlab4j-api/pull/1198
Also related: with https://github.com/gitlab4j/gitlab4j-api/pull/1223 we have tried to be more consistent on the Date types that are in the format yyyy-MM-dd