[
https://issues.apache.org/jira/browse/OLINGO-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14164926#comment-14164926
]
Michael Bolz commented on OLINGO-430:
-------------------------------------
Hi [~Steffi72],
the Olingo library is based on [OData V2 Specification Revision
10.1|http://msopentech.com/odataorg/wp-content/uploads/sites/21/v2ms-odata.pdf].
There (see chapter 2.2.2) the *Edm.DateTime* / *dateTimeUriLiteral* does not
have a timezone information.
This optional timezone was introduced in a later Revision and is currently not
supported.
I can check later on if we fix it with an upcoming version.
However I also invite you to do a contribution about this issue ;o)
Kind regards,
Michael
> Timezone part is not recognized during parsing of datetime literals
> -------------------------------------------------------------------
>
> Key: OLINGO-430
> URL: https://issues.apache.org/jira/browse/OLINGO-430
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 2.0.0
> Reporter: STefan Boller
> Assignee: Michael Bolz
> Priority: Critical
>
> we observed the following bug in the implementation of parsing of datetime
> literals: Datetime literals with timezone information do cause an exception,
> e.g. datetime'2014-09-01T00:00:00Z' or datetime'2014-09-01T00:00:00+02:00' is
> not accepted, only datetime literals like datetime'2014-09-01T00:00:00' can
> be parsed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)