From 3dc36f24f1e5a88990906219af94f587af69d858 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 16 Feb 2006 20:29:57 +0000 Subject: (parse): The period phrase "every month" was not working (it required you to say "every monthly"). --- datetime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'datetime.cc') diff --git a/datetime.cc b/datetime.cc index f3434112..16c1e04e 100644 --- a/datetime.cc +++ b/datetime.cc @@ -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; -- cgit v1.2.3