From 5a7e22c4eecdc61123fbedd964a1028da15eac92 Mon Sep 17 00:00:00 2001 From: Lori Bailey <44073106+elceebee@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:39:47 +0100 Subject: [PATCH] Update dates for first and second reminder --- app/services/cycle_timetable.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/services/cycle_timetable.rb b/app/services/cycle_timetable.rb index 6016eb99796..9631a09cf23 100644 --- a/app/services/cycle_timetable.rb +++ b/app/services/cycle_timetable.rb @@ -138,11 +138,13 @@ def self.holidays(year = current_year) end def self.apply_deadline_first_reminder - (apply_deadline - 2.months).beginning_of_week + 1.week + # For 2024, date confirmed is Wednesday 17 July at 6pm + apply_deadline - 2.months end def self.apply_deadline_second_reminder - (apply_deadline - 1.month).beginning_of_week + 1.week + # For 2024, date confirmed is Saturday 17 September at 6pm + apply_deadline - 1.month end def self.between_cycles?