recur: Code cleanup
This commit is contained in:
@@ -229,7 +229,7 @@ Datetime getNextRecurrence (Datetime& current, std::string& period)
|
|||||||
|
|
||||||
else if (period == "weekdays")
|
else if (period == "weekdays")
|
||||||
{
|
{
|
||||||
int dow = current.dayOfWeek ();
|
auto dow = current.dayOfWeek ();
|
||||||
int days;
|
int days;
|
||||||
|
|
||||||
if (dow == 5) days = 3;
|
if (dow == 5) days = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user