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 constant for default time
Kabiru Mwenjaafa9aedecda6
diff --git a/app/components/work_packages/reminder/modal_body_component.rb b/app/components/work_packages/reminder/modal_body_component.rbindex 13675204e21..1b06316f337 100644--- a/app/components/work_packages/reminder/modal_body_component.rb+++ b/app/components/work_packages/reminder/modal_body_component.rb@@ -36,6 +36,7 @@ module WorkPackagesinclude OpPrimer::ComponentHelpersFORM_ID = "reminder-form"+ DEFAULT_TIME = "09:00"attr_reader :remindable, :reminder, :errors, :preset@@ -92,7 +93,7 @@ module WorkPackagesdef remind_at_time_initial_valuereturn format_time(@reminder.remind_at, include_date: false, format: "%H:%M") if @reminder.remind_at- "09:00"+ DEFAULT_TIMEendprivate