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
fix date span check in xls export
as-opd186b84a9764
diff --git a/modules/reporting/lib/open_project/reporting/cost_entry_xls_table.rb b/modules/reporting/lib/open_project/reporting/cost_entry_xls_table.rbindex 5f821761393..4606b113ed4 100644--- a/modules/reporting/lib/open_project/reporting/cost_entry_xls_table.rb+++ b/modules/reporting/lib/open_project/reporting/cost_entry_xls_table.rb@@ -68,7 +68,7 @@ class OpenProject::Reporting::CostEntryXlsTable < OpenProject::XlsExport::XlsViereturn "" if start_timestamp.nil? || end_timestamp.nil?days_between = (end_timestamp.to_date - start_timestamp.to_date).to_i- day_prefix = days_between > 1 ? "#{end_timestamp.to_date.iso8601} " : ""+ day_prefix = days_between >= 1 ? "#{end_timestamp.to_date.iso8601} " : """#{day_prefix}#{format_time(end_timestamp, include_date: false)}"end