Extensions

- Clarification in the extensions document.
This commit is contained in:
Paul Beckingham
2011-04-24 12:40:50 -04:00
parent 86ef048cb0
commit a7c3858729
3 changed files with 22 additions and 3 deletions

View File

@@ -59,3 +59,14 @@ function format (value)
return value
end
-- Arguments: Value
-- Returns: Urgency Term
-- Note: Should reference rc.urgency.<field>.coefficient
function urgency (value)
coefficient = task_get ('urgency.<field>.coefficient')
-- TODO Urgency calculation here
return coefficient * 1.0
end