From: martyntaylor <[email protected]> --- src/app/models/task.rb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/app/models/task.rb b/src/app/models/task.rb index 9f23ef2..5c5bf34 100644 --- a/src/app/models/task.rb +++ b/src/app/models/task.rb @@ -95,7 +95,11 @@ class Task < ActiveRecord::Base end def submission_time - time.started - time.submitted + time_started - time_submitted + end + + def runtime + time_ended - time_started end def validate -- 1.6.6.1 _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
