Skip to content

AWS Elasticache using Lettuce: Date fields are not getting fetched correctly #3183

Closed Answered by alekhya538
alekhya538 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @tishun

I resolved it by using @DateTimeFormat annotation in my model class.

    @JsonProperty("startDate")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
    private Date startDate;

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@tishun
Comment options

Comment options

You must be logged in to vote
1 reply
@tishun
Comment options

Answer selected by tishun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
status: waiting-for-feedback We need additional information before we can continue
2 participants