Skip to content
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

Use DateOnlySerializer when appropriate #1223

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Conversation

jmini
Copy link
Collaborator

@jmini jmini commented Dec 30, 2024

add following serializer:

@JsonSerialize(using = JacksonJson.DateOnlySerializer.class)

On the Date type that are day-only type.

Value is serialized as "2018-07-31" (as sent by the server) instead as "2018-07-31T00:00:00Z".

@jmini jmini mentioned this pull request Dec 30, 2024
@jmini jmini merged commit 928ff2e into gitlab4j:main Dec 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant