CmdChart: Renamed rc.reports.<type>.24h to rc.reports.<type>.hours with 'all' or 'auto' as values

This commit is contained in:
Paul Beckingham 2016-05-29 15:44:52 -04:00
parent b2a8a0abfb
commit 6688e98c1a
2 changed files with 4 additions and 4 deletions

View file

@ -219,7 +219,7 @@ static void determineHourRange (
int& first_hour,
int& last_hour)
{
if (! rules.getBoolean ("reports." + type + ".24h"))
if (rules.getBoolean ("reports." + type + ".hours") == "auto")
{
// Get the extreme time range for the filtered data.
first_hour = 23;