mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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…
x
Reference in New Issue
Block a user