mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-10 04:00:37 +02:00
CmdCalendar: Support due dates up to year 9999
This commit is contained in:
parent
22228547ca
commit
0234cd8122
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ int CmdCalendar::execute (std::string& output)
|
||||||
if (getPendingDate == true)
|
if (getPendingDate == true)
|
||||||
{
|
{
|
||||||
// Find the oldest pending due date.
|
// Find the oldest pending due date.
|
||||||
Datetime oldest (2037, 12, 31);
|
Datetime oldest (9999, 12, 31);
|
||||||
for (auto& task : tasks)
|
for (auto& task : tasks)
|
||||||
{
|
{
|
||||||
auto status = task.getStatus ();
|
auto status = task.getStatus ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue