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

Unable to set 24-hour time format with pt_BR locale in Zabbix 7.0+

XMLWordPrintable

      According to this article (see screenshot below), up until Zabbix version 6.4, the interface used a 24-hour time format by default, even when using the en_US locale. Starting with Zabbix 7.0, the timestamp format is expected to follow the locale associated with the selected language.

      Expected time format by locale:

      en_US → 12-hour format (AM/PM)

      en_GB → 24-hour format

      pt_BR → 24-hour format (as commonly used in Brazil)

      Observed behavior:

      • When setting the language to en_GB, the interface correctly displays timestamps in 24-hour format.
      • However, when changing the language to pt_BR, the interface still displays times in 12-hour format (AM/PM), which is inconsistent with the expected behavior for this locale. See the screenchots below.

      Additionally, I found this issue (screenshot below), where a user also reported being unable to switch to the 24-hour format, even when using appropriate locales.

      Expected behavior:

      Timestamps should follow the selected locale and display in 24-hour format when using pt_BR.

      Actual behavior:

      Timestamps are shown in 12-hour format (AM/PM) when using pt_BR, despite this not being standard for Brazilian Portuguese.

            zabbix.support Zabbix Support Team
            gabrielgalvao Gabriel Galvão
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: