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 calculation of all quarter hours for a given time span (#9699)
Wieland Lindenthal93524310bea4
diff --git a/app/models/users/scopes/having_reminder_mail_to_send.rb b/app/models/users/scopes/having_reminder_mail_to_send.rbindex 787d5925676..9e63a7ed586 100644--- a/app/models/users/scopes/having_reminder_mail_to_send.rb+++ b/app/models/users/scopes/having_reminder_mail_to_send.rb@@ -119,8 +119,8 @@ module Users::Scopesquarters = ((latest_time - earliest_time) / 60 / 15).floor- (1..quarters).each_with_object([next_quarter_hour(earliest_time)]) do |i, times|- times << (times.last + (i * 15.minutes))+ (1..quarters).each_with_object([next_quarter_hour(earliest_time)]) do |_, times|+ times << (times.last + 15.minutes)endend