1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 23:59:40 +02:00

Add observed holidays to sync exceptions

This commit is contained in:
Zach Gollwitzer 2024-10-10 19:29:20 -04:00
parent 79ca7e2039
commit 3610c6cae7

View file

@ -36,7 +36,7 @@ class Gapfiller
end
def holiday?(date)
Holidays.on(date, :federalreserve, :us, :informal).any?
Holidays.on(date, :federalreserve, :us, :observed, :informal).any?
end
def create_gapfilled_record(prev_record, date)