diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index a2024a8622..c7b0b95c8a 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -1007,9 +1007,13 @@ function graphic_combined_module ($module_list, $weight_list, $period, $time_format = 'M d'; $time_format_2 = 'H\h'; } - else { + elseif ($temp_range < SECONDS_6MONTHS) { $time_format = 'M d'; $time_format_2 = 'H\h'; + } + else { + $time_format = 'Y M d'; + $time_format_2 = 'H\h'; } // Set variables