diff --git a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmTypeInfo.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmTypeInfo.java index f886c8408..e4df552be 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmTypeInfo.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/EdmTypeInfo.java @@ -242,6 +242,7 @@ public class EdmTypeInfo { return EdmPrimitiveTypeKind.Single; } else if (value instanceof Calendar || value instanceof Date || value instanceof java.sql.Timestamp + || value instanceof java.time.Instant || value instanceof java.time.ZonedDateTime) { return EdmPrimitiveTypeKind.DateTimeOffset; } else if (value instanceof java.sql.Date || value instanceof java.time.LocalDate) {