Added good period to custom graphs
This commit is contained in:
parent
472d37dbdd
commit
9245f0c0e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue