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

Wrong date in case the year format is four digit but the value is two digit

Details

    Description

      Reproduction steps:
      1. Go To Control Panel > Content & Data > Dynamic Data Lists
      2. Add a New list
      3. Select a Data Definitions
      4. Create a new Data Definition
      5. Drop a Date field to the right side of the panel
      6. Save the Data Definition
      7. Select the newly created Data Definition
      8. Save the new Data list
      8. Select the newly created Data list
      9. Click on Add button
      Checkpont: The date mask is: mm/dd/yyyy
      5. Type today's date in the date field like 03/10/22 
      where the year is a two digit number

       Actual result:
      The date 03/10/22 become 03/10/1922.

       Expected result:
      It should be 03/10/2022

      Attachments

        Activity

          People

            mateus.alves Mateus Alves
            roland.pakai Roland Pákai
            Kiyoshi Lee Kiyoshi Lee
            Roland Pákai Roland Pákai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              36 weeks ago

              Packages

                Version Package
                7.2.X
                7.3.X
                7.4.3.17 CE GA17
                Master