From 4740a4cabd62a324c433c4d08c1de34fbc3fb151 Mon Sep 17 00:00:00 2001 From: Michael Descy Date: Thu, 7 Apr 2016 12:10:57 -0400 Subject: [PATCH] Closes Issue #106: Recurring task date inconsistency. - Also bumped version number to 2.2.1. --- TodoTxtMac/TTMTask.m | 2 +- TodoTxtMac/TodoTxtMac-Info.plist | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TodoTxtMac/TTMTask.m b/TodoTxtMac/TTMTask.m index 175fa02..70ddfde 100644 --- a/TodoTxtMac/TTMTask.m +++ b/TodoTxtMac/TTMTask.m @@ -747,7 +747,7 @@ - (TTMTask*)newRecurringTask { if (_dueDateText == nil) { numberOfDaysThresholdDateIsBeforeDueDate = [TTMDateUtility daysBetweenDate:self.thresholdDate andEndDate:[TTMDateUtility today]]; } else if (_dueDateText != nil && _thresholdDateText != nil) { - numberOfDaysThresholdDateIsBeforeDueDate = [TTMDateUtility daysBetweenDate:self.thresholdDate andEndDate:self.thresholdDate]; + numberOfDaysThresholdDateIsBeforeDueDate = [TTMDateUtility daysBetweenDate:self.thresholdDate andEndDate:self.dueDate]; } if (numberOfDaysThresholdDateIsBeforeDueDate < 0) { numberOfDaysThresholdDateIsBeforeDueDate = 0; diff --git a/TodoTxtMac/TodoTxtMac-Info.plist b/TodoTxtMac/TodoTxtMac-Info.plist index 30a198e..f414148 100644 --- a/TodoTxtMac/TodoTxtMac-Info.plist +++ b/TodoTxtMac/TodoTxtMac-Info.plist @@ -38,11 +38,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.2.0 + 2.2.1 CFBundleSignature ???? CFBundleVersion - 2020 + 2021 LSApplicationCategoryType public.app-category.productivity LSMinimumSystemVersion