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

00:00-23:59 vs. 00:00-24:00 inconsistency for periods

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.3rc4
    • Fix Version/s: 1.9.4 (alpha)
    • Component/s: Frontend (F), Server (S)
    • Labels:
      None

      Description

      We have an inconsistency in DB schema, server, and frontend as to how 24-hour specification should be done.

      For instance, table "media" has the following specification for field "period":

      period varchar(100) DEFAULT '1-7,00:00-23:59' NOT NULL

      At the same time, table "config" specifies the following for "work_period":

      work_period varchar(100) DEFAULT '1-5,00:00-24:00' NOT NULL

      The default values for periods as offered by the frontend are "1-7,00:00-23:59".

      We think that 00:00-24:00 everywhere would be more correct and more intuitive.

        Attachments

          Activity

            People

            • Assignee:
              dimir dimir
              Reporter:
              asaveljevs Aleksandrs Saveljevs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: