(parse): The period phrase "every month" was not working (it required

you to say "every monthly").
This commit is contained in:
John Wiegley 2006-02-16 20:29:57 +00:00
parent 917ef6934c
commit 71a0ad82b9

View file

@ -237,7 +237,7 @@ void interval_t::parse(std::istream& in)
seconds = 86400;
else if (word == "week")
seconds = 7 * 86400;
else if (word == "monthly")
else if (word == "month")
months = 1;
else if (word == "quarter")
months = 3;