Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-79287

Incorrect date format appears when OS locale default language is not English

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 7.13.7, 7.18.1
    • Macros - Other Macros
    • None

    Description

      Problem

      When you insert a date lozenge, the date format displayed depends on the language settings for the current user. This means the lozenge will appear differently for different users. However, this is not the case if the operating system locale default language is not English.

      Environment

      • Linux (Ubuntu)
      • Windows (non-English version)

      Steps to Reproduce

      1. Install Confluence and keep everything as default (system language is English, user profile language is also English)
      2. Run the below command to check the system locale setting in Linux
        locale
        
      3. Change the system locale to zh_CN.UTF-8 by running the command:
        sudo dpkg-reconfigure locales
        
      4. Once you run the command before, you should see the next screen in your terminal
      5. Once your language has been found, press the SPACE KEY to mark it and then ENTER
      6. Run the locale command to verify the change then restart OS

      Expected Results

      The date format displayed depends on the language settings for the current user

      Actual Results

      Workaround

      • Change the OS locale language to English (e.g en_US.UTF-8)

      Notes

      Attachments

        1. actual_result.png
          actual_result.png
          90 kB
        2. default_locale.png
          default_locale.png
          49 kB
        3. locale.png
          locale.png
          47 kB
        4. screen_1.png
          screen_1.png
          280 kB
        5. screen_2.png
          screen_2.png
          98 kB

        Issue Links

          Activity

            People

              zxu2@atlassian.com Zac Xu
              lwang3@atlassian.com Lei Wang
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: