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
Remove useless code
Christophe Bliard200cebc50f3d
diff --git a/frontend/src/app/shared/helpers/chronic_duration.js b/frontend/src/app/shared/helpers/chronic_duration.jsindex 9bc13b38e4f..8b2220ad8c9 100644--- a/frontend/src/app/shared/helpers/chronic_duration.js+++ b/frontend/src/app/shared/helpers/chronic_duration.js@@ -349,8 +349,6 @@ export function outputChronicDuration(seconds, opts = {}) {units.hours += (((units.minutes * 60) + units.seconds) / 3600.0)units.hours = parseFloat(Math.round(units.hours * 100)) / 100;- const hoursDecimalPlaces =- units.hours % 1 !== 0 ? Math.min(2, units.hours.toString().split('.').reverse()[0].length) : null;breakcase 'chrono':