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

Issue with LPS-78314 has returned -- Date placeholder in Japanese localization

    Details

      Description

      LPS-78314 was supposed to resolve a problem with Japanese date localization so that it displayed YYYY/MM/dd (specifically in Japanese 年年年年/月月/日日), but it looks like this functionality has regressed.

      Currently, dates are displayed as 年年年年/月月/dd in any part that requires a date field. This is wrong, because dd should be translated to 日日.

      This is apparent in...

      • The date field as discussed in LPS-78314 – Birthdate for My Account.
      • The Calendar reservation screen
      • Dynamic Data List (if we select Inventory)

      Steps to Reproduce

      1. start Liferay
      2. Login Liferay
      3. Go to My Account > Account Settings
      4. Language select "日本語(日本)"
      5. Save changes
      6. Select "誕生日" (birthdate)
      7. Delete the date

      Actual Results
      Dates are displayed as 年年年年/月月/dd


      Expected Behavior
      It is expected that the regression was fixed, and that the date field would be 年年年年/月月/日日

      Reproduced in
      7.1.X Private Commit: 40d9e186b7f81ae2c027e7e89fdb1ad890d6eb9f
      Master Commit: 1d7d57fa1326f8dfc328a37907c29df7b7b6c181

        Attachments

        1. DD-regression-Calendar.png
          DD-regression-Calendar.png
          78 kB
        2. DD-regression-DDL.png
          DD-regression-DDL.png
          143 kB
        3. DD-regression-MyAccount.png
          DD-regression-MyAccount.png
          185 kB
        4. fixed.png
          fixed.png
          18 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 2 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP2
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master