Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-87191

Dates in the UI display with 2 digit year instead of 4 digit if CLDR provider is used (JDK11 default)

    Details

      Description

      Steps to Reproduce:

      1. Compile portal on JDK8
      2. Start portal on JDK11
      3. Login
      4. Add Calendar widget to the Welcome page
      5. Add a new event
      6. Save event
      7. Click on event on the scheduler
      8. Click "View Details"
      9. View date of the event

      Also reproduced when viewing search results in the search portlet.

      Expected Result:
      Dates are shown using Month DD, YYYY format.

      Actual Result:
      Dates are shown using Month DD, YY format.

      Not reproducible using JDK8 runtime. Reproducible on JDK8 if java.locale.providers=CLDR is set.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  14 weeks ago

                  Packages

                  Version Package
                  7.2.X
                  Master