m0n9oose/redmine_loader — pull request #20 by buri17 (2014-01-26 13:40:54+00:00)
Title: Change the export rule for Task/ActualWork.

This patch removes the ActualWork element from the Task element when
the struct.total_spent_hours == 0.

Since the get_scorm_time method return 'PT8H0M0S' when the time argument is nil or zero,
the current implementation generates PT8H0M0S if the total_spent_hours equals to 0.