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

Date to string conversion problem with date older than 1900

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.4.2, 2.5
    • 2.4, 2.4.1
    • None
    • None

      org.ametys.runtime.util.parameter.ParameterHelper#valueToString(Object) does not work for Date older than the first day of 1900 (included). The problem reside in the construction of a new org.joda.time.DateTime from a existing java.util.Date.

      A patch is added to the issue, with two news test cases in org.ametys.runtime.test.util.DateConversionTestCase

            cedric Cédric Damioli
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: