- Recurring faintly working without (the very necessary) mask attribute

This commit is contained in:
Paul Beckingham
2008-07-08 01:40:07 -04:00
parent 0e611eda19
commit ba342eeeb6
9 changed files with 3352 additions and 3141 deletions

View File

@@ -238,9 +238,9 @@ const std::string uuid ()
////////////////////////////////////////////////////////////////////////////////
// Recognize the following constructs, and return the number of days represented
int convertDuration (const std::string& input)
int convertDuration (std::string& input)
{
std::string in (lowerCase (input));
input = lowerCase (input);
Date today;
std::vector <std::string> supported;
@@ -261,7 +261,7 @@ int convertDuration (const std::string& input)
supported.push_back ("yearly");
std::vector <std::string> matches;
if (autoComplete (in, supported, matches) == 1)
if (autoComplete (input, supported, matches) == 1)
{
std::string found = matches[0];
@@ -306,9 +306,3 @@ int convertDuration (const std::string& input)
}
////////////////////////////////////////////////////////////////////////////////
int addDuration (const Date& base, const std::string& offset)
{
return 0;
}
////////////////////////////////////////////////////////////////////////////////