From 0234cd81224db3fa43fb9c328f0167675af8a2a3 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 24 Jan 2021 04:19:13 -0500 Subject: [PATCH] CmdCalendar: Support due dates up to year 9999 --- src/commands/CmdCalendar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/CmdCalendar.cpp b/src/commands/CmdCalendar.cpp index 1481e999a..e4dec6985 100644 --- a/src/commands/CmdCalendar.cpp +++ b/src/commands/CmdCalendar.cpp @@ -172,7 +172,7 @@ int CmdCalendar::execute (std::string& output) if (getPendingDate == true) { // Find the oldest pending due date. - Datetime oldest (2037, 12, 31); + Datetime oldest (9999, 12, 31); for (auto& task : tasks) { auto status = task.getStatus ();