mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdEdit
- Converted from OldDuration to Duration.
This commit is contained in:
parent
e73d19152e
commit
9693a724f2
2 changed files with 8 additions and 7 deletions
|
@ -321,7 +321,7 @@ bool Duration::parse (const std::string& input, std::string::size_type& start)
|
|||
if (durations[i].unit == unit)
|
||||
{
|
||||
seconds = durations[i].seconds;
|
||||
_secs = static_cast <int> (quantity * static_cast <double> (seconds));
|
||||
_secs = static_cast <int> (quantity * static_cast <double> (seconds));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue