CmdCalendar: Adjust styling
This commit is contained in:
@@ -584,8 +584,7 @@ std::string CmdCalendar::renderMonths (
|
|||||||
auto end = config.get ("holiday." + hol.first.substr (8, hol.first.size () - 14) + ".end");
|
auto end = config.get ("holiday." + hol.first.substr (8, hol.first.size () - 14) + ".end");
|
||||||
Datetime holStart (start.c_str (), dateFormat);
|
Datetime holStart (start.c_str (), dateFormat);
|
||||||
Datetime holEnd (end.c_str (), dateFormat);
|
Datetime holEnd (end.c_str (), dateFormat);
|
||||||
if (holStart <= date &&
|
if (holStart <= date && date <= holEnd)
|
||||||
date <= holEnd)
|
|
||||||
cellColor.blend (color_holiday);
|
cellColor.blend (color_holiday);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user