Merge branch '2.4.3' of ssh://git.tasktools.org/tm/task into 2.4.3
This commit is contained in:
@@ -319,6 +319,7 @@ bool Duration::parse (const std::string& input, std::string::size_type& start)
|
||||
start = original_start + n.cursor ();
|
||||
|
||||
// Linear lookup - should be logarithmic.
|
||||
double seconds = 1;
|
||||
for (unsigned int i = 0; i < NUM_DURATIONS; i++)
|
||||
{
|
||||
if (durations[i].unit == unit &&
|
||||
|
||||
Reference in New Issue
Block a user