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
223ca89d73
commit
e2633a2d76
1 changed files with 6 additions and 6 deletions
|
@ -204,12 +204,12 @@ bool generateDueDates (Task& parent, std::vector <Datetime>& allDue)
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
Datetime getNextRecurrence (Datetime& current, std::string& period)
|
||||
{
|
||||
int m = current.month ();
|
||||
int d = current.day ();
|
||||
int y = current.year ();
|
||||
int ho = current.hour ();
|
||||
int mi = current.minute ();
|
||||
int se = current.second ();
|
||||
auto m = current.month ();
|
||||
auto d = current.day ();
|
||||
auto y = current.year ();
|
||||
auto ho = current.hour ();
|
||||
auto mi = current.minute ();
|
||||
auto se = current.second ();
|
||||
|
||||
// Some periods are difficult, because they can be vague.
|
||||
if (period == "monthly" ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue