Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Time error when creating an Incident

  • Time error when creating an Incident

    Posted by richards31040 on March 25, 2011 at 19:38

    When an incident is created there is an error in the time value recorded.
    The problem is caused by a small error in the file /include/functions_calendar.php
    Line 46 reads:
     return date (“Y-m-d H:m:s”, $unixtime);
    when it should read:
     return date (“Y-m-d H:i:s”, $unixtime);

    The error results in the value of the month instead of the minutes value.
    Changing m to i as shown above, corrects this.

    miguel replied 13 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • miguel

    Member
    March 28, 2011 at 13:19
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi.

    This bug was finded and was fixed by jobmate. In the next release of Integria have fixed. But If you want, you can download the trunk (althought it is the inestable developer version).

    Bye and thanks.