Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2474

Parameter helper could format date with or without milliseconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0RC5
    • 4.0RC4
    • None
    • None

      Use of DateTimeFormatter#ISO_OFFSET_DATE_TIME drops millis when they're zero.
      So the formatted date could be "2011-12-03T10:15:30+01:00" (millis to 0) or "2011-12-03T10:15:30.354+01:00" (millis > 0)

      Possible fix : use of DateTimeFormatter.ofPattern
      http://stackoverflow.com/questions/35184481/java-8-datetimeformatter-dropping-millis-when-theyre-zero

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: