diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 895b791714..e321c2c62e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-06-01 Sergio Martin + + * godmode/agentes/planned_downtime.php: Fixed the + value of time into update downtime for bug: 3004049 + 2010-06-01 Miguel de Dios * general/license/pandora_info_es_es.html, diff --git a/pandora_console/godmode/agentes/planned_downtime.php b/pandora_console/godmode/agentes/planned_downtime.php index 89354b8192..5e6c16e9a5 100644 --- a/pandora_console/godmode/agentes/planned_downtime.php +++ b/pandora_console/godmode/agentes/planned_downtime.php @@ -135,6 +135,8 @@ if ($create_downtime || $update_downtime) { $description = $result["description"]; $date_from = strftime ('%Y-%m-%d', $result["date_from"]); $date_to = strftime ('%Y-%m-%d', $result["date_to"]); + $time_from = strftime ('%I:%M%p', $result["date_from"]); + $time_to = strftime ('%I:%M%p', $result["date_to"]); if ($id_group == 0) $id_group = $result['id_group'];