Skip to content

Conversation

@m-van-tilburg
Copy link

@m-van-tilburg m-van-tilburg commented Sep 30, 2025

Depending on the mapped Java class that is set for EdmDate and EdmDateTimeOffset, conversion of (historical) dates can give unexpected results:

  1. Dates before the Julian-Gregorian cutover date (by default October 15, 1582 (Gregorian)) are treated as Julian when java.util.Calendar is (indirectly) used. When using java.time types, these dates are treated as (proleptic) Gregorian instead
  2. The mapped Java class is not always used correctly

this will fix #OLINGO-1646

…rsions. Fix mapped Java class not always correctly used for date/time conversions. fixes #OLINGO-1646
@m-van-tilburg m-van-tilburg force-pushed the invalid_date_time_conversions branch from c646c2f to 2520e49 Compare December 5, 2025 09:34
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