[ 
https://issues.apache.org/jira/browse/OLINGO-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bolz resolved OLINGO-21.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

Fixed in:
{{org.apache.olingo.odata2.core.edm.EdmDateTime}} 
added test in: 
{{org.apache.olingo.odata2.core.edm.EdmSimpleTypeTest.valueToStringDateTimeSpecial}}
and commited with {{80c0e6cef4f0ee995ea6ac1cfc9ed9c5ffba6f93}}.
                
> Incorrect millisecond handling in EdmDateTime 
> ----------------------------------------------
>
>                 Key: OLINGO-21
>                 URL: https://issues.apache.org/jira/browse/OLINGO-21
>             Project: Olingo
>          Issue Type: Bug
>            Reporter: Michael Bolz
>            Assignee: Michael Bolz
>             Fix For: 1.0.0
>
>
> In rare cases a 'dot' is attached during serialization of EdmDateTime in a 
> String.
> Example:
>     Calendar date = Calendar.getInstance(TimeZone.getTimeZone("GMT"));
>     date.set(1954, 7, 4);
>     String formated = instance.valueToString(date, EdmLiteralKind.DEFAULT, 
> getPrecisionScaleFacets(3, null));
> Results in ~ "1954-08-04T09:27:55." 
> The 'dot' at the end of the string is incorrect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to