mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Duration
- The "annual" and "yearly" options were listed twice.
This commit is contained in:
parent
b55f47ec9a
commit
a4eb390a04
1 changed files with 0 additions and 2 deletions
|
@ -397,8 +397,6 @@ void Duration::parse (const std::string& input)
|
||||||
else if (match == "years") mSecs = (int) (value * 86400 * 365);
|
else if (match == "years") mSecs = (int) (value * 86400 * 365);
|
||||||
else if (match == "yrs") mSecs = (int) (value * 86400 * 365);
|
else if (match == "yrs") mSecs = (int) (value * 86400 * 365);
|
||||||
else if (match == "y") mSecs = (int) (value * 86400 * 365);
|
else if (match == "y") mSecs = (int) (value * 86400 * 365);
|
||||||
else if (match == "yearly") mSecs = (int) (value * 86400 * 365);
|
|
||||||
else if (match == "annual") mSecs = (int) (value * 86400 * 365);
|
|
||||||
|
|
||||||
else if (match == "semiannual") mSecs = (int) (value * 86400 * 183);
|
else if (match == "semiannual") mSecs = (int) (value * 86400 * 183);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue