Merge branch '699-period-format-in-charts-6.0' into 'pandora_6.0'
Added good period to custom graphs See merge request !615
This commit is contained in:
commit
5cfe955f8d
|
@ -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