From a4eb390a0455db6c5a6cba4787b7680b8c27c349 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 24 Jul 2011 12:57:10 -0400 Subject: [PATCH] Duration - The "annual" and "yearly" options were listed twice. --- src/Duration.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Duration.cpp b/src/Duration.cpp index 0d427fa12..458f89e34 100644 --- a/src/Duration.cpp +++ b/src/Duration.cpp @@ -397,8 +397,6 @@ void Duration::parse (const std::string& input) else if (match == "years") mSecs = (int) (value * 86400 * 365); else if (match == "yrs") mSecs = (int) (value * 86400 * 365); else if (match == "y") mSecs = (int) (value * 86400 * 365); - else if (match == "yearly") mSecs = (int) (value * 86400 * 365); - else if (match == "annual") mSecs = (int) (value * 86400 * 365); else if (match == "semiannual") mSecs = (int) (value * 86400 * 183);