Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7614

Allow configuring date and time format independenly of locale setting

    XMLWordPrintable

Details

    • Change Request
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Frontend (F)
    • None
    • Team B

    Description

      Currently we use 24 hour time and Year/Month/Day date format in frontend.

      // Date and time format separators must be synced with setSDateFromOuterObj() in class.calendar.js.
      define('ZBX_FULL_DATE_TIME',   'Y-m-d H:i:s'); // Time selector full date and time presentation format.
      define('ZBX_DATE_TIME',          'Y-m-d H:i'); // Time selector date and time without seconds presentation format.
      define('ZBX_DATE',          'Y-m-d'); // Time selector date without minutes and seconds presentation format.

      Suggest allowing to configure that.

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            yurii Jurijs Klopovskis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: