FreePlaneGTD icon indicating copy to clipboard operation
FreePlaneGTD copied to clipboard

Add configurable termination date to tasks without due date

Open gpapp opened this issue 7 years ago • 1 comments

Dietmar wrote:

if I don't want to specify due dates for each task ( *do something[me]{05-24-17} ), and just omit the due date, then the overview window will list this task as to be done "this week" by default. But: even 7 days later it still will be on the "this week" list, without becoming overdue... if (fields['when']) nodeAttr['When'] = fields['when']

by

 if(!thisNode.getAttributes().containsKey("When")) {
    if (fields['when']) 
       {
       nodeAttr['When'] = fields['when']
       }
    else
       {
       Date due = new Date(thisNode.getCreatedAt().getTime() + 7*24*60*60*1000)
       nodeAttr['When'] = due
       }
 }

to get a default due date "within next week" which will be marked as overdue if this time has passed.

gpapp avatar Jan 12 '18 10:01 gpapp

IDEA: implement it as a configurable option, because adding a default due time assumes, that you actually have a deadline for everything

gpapp avatar Jan 12 '18 10:01 gpapp