# XXX do we want to format to another time unit ? days ?
# XXX do we want to format to another time unit ? days ?
'delay':(obj["results"]["completionTime"]-dueDate)ifcompletedelseNone,# XXX manpy outputs delay, but it is sometimes wrong
'delayText':("%d %s"%(obj["results"]["completionTime"]-dueDate,data['general']['timeUnit']))ifcompletedelseNone,# XXX manpy outputs delay, but it is sometimes wrong