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

Timezone label shows with the wrong locale

    Details

      Description

      Issue
      Timezone label for Phoenix Time shows with the system locale instead of the current locale

      Steps to reproduce

      1. Obtain latest master
      2. In TOMCAT.HOME/bin/setenv.sh (or setenv.bat in Windows) append -Duser.country=JP -Duser.language=ja to CATALINA_OPTS to change the Tomcat bundle's JVM language setting to Japanese
      3. Start Liferay
      4. Sign in
      5. Switch to Japanese
      6. http://localhost:8080/ja
      7. Go to Account Settings > Miscellaneous > Display Settings
      8. Click on Timezone combobox
      9. Assert that UTC-7 shows as (UTC -07:00) 山地標準時 (フェニックス時間)
      10. Switch back to English
      11. http://localhost:8080/en
      12. Access same page
      13. Click on Timezone combobox

      Expected behavior
      UTC-7 shows as (UTC -07:00) Mountain Standard Time (Phoenix Time)

      Actual behavior
      UTC-7 shows as (UTC -07:00) Mountain Standard Time (フェニックス時間)

        Attachments

        1. 70161_2.png
          70161_2.png
          31 kB
        2. 70161.png
          70161.png
          31 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:
                  3 years, 27 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP11
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.X
                  Master