You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2014/07/17 11:51:05 UTC
[jira] [Resolved] (OLINGO-357) Error when generating URI with
DateTimeOffset
[ https://issues.apache.org/jira/browse/OLINGO-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò resolved OLINGO-357.
-------------------------------------------
Resolution: Fixed
https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=4e61f1093d79353d01857452b5948facf3c386d9
> Error when generating URI with DateTimeOffset
> ---------------------------------------------
>
> Key: OLINGO-357
> URL: https://issues.apache.org/jira/browse/OLINGO-357
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Affects Versions: V4 0.1.0
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Fix For: V4 0.1.0
>
>
> Suppose we want the request URL like:
> http://XXXXXXXXXX/Orders?$filter=OrderDate ge 2011-03-08T14:21:12-08:00
> The following snippet
> {code}
> final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT-8"));
> calendar.clear();
> calendar.set(2011, 2, 8, 14, 21, 12);
> final URIFilter filter = getFilterFactory().ge("OrderDate", calendar);
> filter.build();
> {code}
> generates instead
> http://XXXXXXXXXX/Orders?$filter=OrderDate ge '2011-03-08T14:21:12-08:00' - e.g. enclosed within single quotes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)