Browse Source

Use less lenient default for submission deadline

pull/2159/head
Rachael Booth 2 years ago
parent
commit
2db8bc4d2e
  1. 2
      app/models/form.rb

2
app/models/form.rb

@ -16,7 +16,7 @@ class Form
submission_deadline: Time.zone.local(2025, 6, 6), submission_deadline: Time.zone.local(2025, 6, 6),
}, },
:default => { :default => {
submission_deadline: ->(start_year) { Time.zone.local(start_year + 1, 6, 30) }, submission_deadline: ->(start_year) { Time.zone.local(start_year + 1, 6, 1) },
new_logs_end_date: ->(start_year) { Time.zone.local(start_year + 1, 12, 31) }, new_logs_end_date: ->(start_year) { Time.zone.local(start_year + 1, 12, 31) },
edit_end_date: ->(start_year) { Time.zone.local(start_year + 1, 12, 31) }, edit_end_date: ->(start_year) { Time.zone.local(start_year + 1, 12, 31) },
}, },

Loading…
Cancel
Save