summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'datetime.cc')
-rw-r--r--datetime.cc2
1 files changed, 1 insertions, 1 deletions
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;