Skip to content

Spring Data Commons does not support org.joda.DateTime #2790

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

Closed
sandeepit2007 opened this issue Mar 11, 2023 · 3 comments
Closed

Spring Data Commons does not support org.joda.DateTime #2790

sandeepit2007 opened this issue Mar 11, 2023 · 3 comments

Comments

@sandeepit2007
Copy link

sandeepit2007 commented Mar 11, 2023

upgraded the springboot 1.5.9 to 2.7.7, Now date time format got changed. Could you someone help on the disabling the new date format.

Dependency added to resolve an error "joda date/time type org.joda.time.datetime not supported by default"-
com.fasterxml.jackson.datatype
jackson-datatype-joda
2.14.0

New format displaying--->"createdDateTime": "2023-03-11T07:40:23.632Z"

Expected format-->
"createdDateTime": {
"millisOfDay": 64396372,
"secondOfDay": 64396,
"minuteOfDay": 1073,
"weekOfWeekyear": 10,
"hourOfDay": 17,
"minuteOfHour": 53,
"secondOfMinute": 16,
"millisOfSecond": 372,
"centuryOfEra": 20,
"yearOfEra": 2023,
"yearOfCentury": 23,
"weekyear": 2023,
"monthOfYear": 3,
"dayOfMonth": 10,
"dayOfWeek": 5,
"era": 1,
"dayOfYear": 69,
"year": 2023,
"zone": {
"uncachedZone": {
"cachable": true,
"fixed": false,
"id": "Asia/Kolkata"
},
"fixed": false,
"id": "Asia/Kolkata"
},
"millis": 1678450996372,
"chronology": {
"zone": {
"uncachedZone": {
"cachable": true,
"fixed": false,
"id": "Asia/Kolkata"
},
"fixed": false,

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 11, 2023
@mp911de
Copy link
Member

mp911de commented Mar 14, 2023

Joda support was removed with Spring Data 3.0 (#2276) and deprecated in version 2.3 (#2086). We generally recommend the usage of JSR-310 temporal types.

We cannot provide any further guidance with just a JSON dump and without any further context.
If you would like us to spend some time helping you to diagnose the problem, please spend some time describing it and, ideally, providing a minimal sample that reproduces the problem.

@mp911de mp911de added the status: waiting-for-feedback We need additional information before we can continue label Mar 14, 2023
@spring-projects-issues
Copy link

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Mar 21, 2023
@spring-projects-issues
Copy link

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@spring-projects-issues spring-projects-issues closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2023
@spring-projects-issues spring-projects-issues removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Mar 28, 2023
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

3 participants