Michael Bolz created OLINGO-21:
----------------------------------

             Summary: 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


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