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

              victor.ware Victor Ware
              victor.ware Victor Ware
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 39 weeks, 3 days ago

                Packages

                  Version Package
                  7.2.X
                  7.3.3 CE GA4
                  7.3.10 DXP GA1
                  Master