Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-6212

Zabbix Web frontend does not display date correctly in Japanese and other some languages

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 1.8.16
    • Frontend (F)

      Hi, I am MATSUDA Daiki and work at Miracle Linux in Japan, which company
      provides the support for Zabbix!

      In Zabbix 1.8.16, frontend does not display date correctly in Japanese and other some languages.
      So, I fixed it and patch is attached.

      In original.png, the date is displayed without year and day unit. But the month unit is correct.
      Becase they, month names, are translated with month unit.
      So, I fix the date generating function to add year, month and day unit and I remove month unit from translated words.
      In addition, add translation for all language you support.

      See fixed.png

        1. fixed.png
          53 kB
          MATSUDA Daiki
        2. original.png
          52 kB
          MATSUDA Daiki
        3. zabbix-1.8.16_chinese_date_format_for_web.patch
          3 kB
          MATSUDA Daiki
        4. zabbix-1.8.16_correct_dispaly_date_v3.patch
          17 kB
          MATSUDA Daiki
        5. zabbix-1.8.16_frontend_change_2_zbx_date2str.patch
          1 kB
          MATSUDA Daiki
        6. zabbix-1.8.16_japanese_date_format_for_web.patch
          12 kB
          MATSUDA Daiki
        7. zabbix-1.8.16_korean_date_format_for_web.patch
          3 kB
          MATSUDA Daiki
        8. zabbix-2.0.11-S_DAY_UNIT_and_S_YEAR_UNIT_translation.patch
          823 kB
          MATSUDA Daiki
        9. zabbix-2.0.5_correct_dispaly_date.patch
          3 kB
          MATSUDA Daiki
        10. zabbix-2.0.5_japanese_date_format_for_web.patch
          3 kB
          MATSUDA Daiki
        11. zabbix-2.0.5_korean_date_format_for_web.patch
          3 kB
          MATSUDA Daiki
        12. zabbix-2.0.5_zh_CN_date_format_for_web.patch
          3 kB
          MATSUDA Daiki
        13. zabbix-2.0.5_zh_TW_date_format_for_web.patch
          3 kB
          MATSUDA Daiki

            Unassigned Unassigned
            daiki.matsuda@miraclelinux.com MATSUDA Daiki
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: