Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-21

Incorrect millisecond handling in EdmDateTime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • V2 1.0.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            mirbo mibo
            mirbo mibo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: