You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change default for DateTimeFeature.ONE_BASED_MONTHS to true in 3.0 #5065
3.0Issue planned for initial 3.0 release3.0-release-notesIssues relevant for 3.0 release notes.date-time-configWork related to possible larger DateTimeConfig feature
Feature known as JavaTimeFeature.ONE_BASED_MONTHS in 2.x defaults to false for backwards-compatibility reasons. With #5032 this module was merged in jackson-databind for Jackson 3.0.0 (rc3) and feature became DateTimeFeature.ONE_BASED_MONTHS.
It makes more sense to have this feature enabled for 3.0, so let's change that. Change will probably fail a few unit test so most work is likely just changing tests to work appropriately again.
We also need to update MapperBuilder.configureForJackson2() to set that back to false if requested.
changed the title [-]Change defaulat for `DateTimeFeature.ONE_BASED_MONTHS` to `true` in 3.0[/-][+]Change default for `DateTimeFeature.ONE_BASED_MONTHS` to `true` in 3.0[/+]on Apr 5, 2025
3.0Issue planned for initial 3.0 release3.0-release-notesIssues relevant for 3.0 release notes.date-time-configWork related to possible larger DateTimeConfig feature
Activity
[-]Change defaulat for `DateTimeFeature.ONE_BASED_MONTHS` to `true` in 3.0[/-][+]Change default for `DateTimeFeature.ONE_BASED_MONTHS` to `true` in 3.0[/+]Fixes #5065: default change for `DateTimeFeature.ONE_BASED_MONTHS`
Fixes #5065: default change for `DateTimeFeature.ONE_BASED_MONTHS` (#…