mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
recur: Code cleanup
This commit is contained in:
parent
e2633a2d76
commit
81e3d3bb42
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue