1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

Bump ruby to 3.4.4
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Zach Gollwitzer 2025-05-20 09:09:10 -04:00
parent 137219c121
commit dd605a577e
6 changed files with 35 additions and 31 deletions

View file

@ -101,13 +101,13 @@ class Sync < ApplicationRecord
return if self.window_start_date.nil? && self.window_end_date.nil? # already as wide as possible
earliest_start_date = if self.window_start_date && new_window_start_date
[self.window_start_date, new_window_start_date].min
[ self.window_start_date, new_window_start_date ].min
else
nil
end
latest_end_date = if self.window_end_date && new_window_end_date
[self.window_end_date, new_window_end_date].max
[ self.window_end_date, new_window_end_date ].max
else
nil
end