Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Invalid date/time conversions#173

Open
m-van-tilburg wants to merge 1 commit into
apache:masterfrom
m-van-tilburg:invalid_date_time_conversions
Open

Invalid date/time conversions#173
m-van-tilburg wants to merge 1 commit into
apache:masterfrom
m-van-tilburg:invalid_date_time_conversions

Conversation

@m-van-tilburg

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

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant