OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
use duration converter as used in wireframe (& other PDF exports)
as-op230d51ce47fc
diff --git a/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb b/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rbindex 007a2b5d729..c58392bab5d 100644--- a/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb+++ b/modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb@@ -330,7 +330,7 @@ class CostQuery::PDF::TimesheetGeneratordef format_duration(hours)return "" if hours < 0- ::OpenProject::Common::DurationComponent.new(hours.to_f, :hours, abbreviated: true).text+ DurationConverter.output(hours)enddef format_spent_on_time(entry)