From f2f6667d38a6032a10e89eadf3ea05ebf0a9dc18 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 1 Jun 2010 16:04:38 +0000 Subject: [PATCH] 2010-06-01 Sergio Martin * godmode/agentes/planned_downtime.php: Fixed the value of time into update downtime for bug: 3004049 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/agentes/planned_downtime.php | 2 ++ 2 files changed, 7 insertions(+) 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'];