Bug Fix - 'max' date
- Changed the max date from Jan 19 2038 to Dec 31 2038. This still serves the purpose, but avoids the UTC/EST/CEST timezon problems we have seen (thanks to Federico Hernandez).
This commit is contained in:
@@ -1501,7 +1501,7 @@ std::string handleReportCalendar ()
|
|||||||
|
|
||||||
if (getpendingdate == true) {
|
if (getpendingdate == true) {
|
||||||
// Find the oldest pending due date.
|
// Find the oldest pending due date.
|
||||||
Date oldest (1,19,2038);
|
Date oldest (12,31,2037);
|
||||||
foreach (task, tasks)
|
foreach (task, tasks)
|
||||||
{
|
{
|
||||||
if (task->getStatus () == Task::pending)
|
if (task->getStatus () == Task::pending)
|
||||||
|
|||||||
Reference in New Issue
Block a user