Pages: [1]   Go Down
Author Topic: Time error when creating an Incident  (Read 693 times)
0 Members and 2 Guests are viewing this topic.
richards31040
Newbie
*

Karma: 0
Offline Offline

Posts: 1


View Profile
« on: March 25, 2011, 04:38:22 PM »

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.
Logged

miguel
Global Moderator
Sr. Member
*****

Karma: 0
Offline Offline

Posts: 102



View Profile
« Reply #1 on: March 28, 2011, 10:19:34 AM »

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.
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST