Question: Does it handle the case of multiple games on the same day, or games that are less than a week apart?
Haliboot opened this issue · 2 comments
Will it send email for all relevant games, or will the soonest game "hide" the other games? I haven't tested this, but it seemed like a case that could easily be overlooked, so I thought I'd ask.
It will send an email for each game in the next/upcoming day a game is scheduled for. That would be a problem for games scheduled less than two days apart as they would not get an email at all. The first game would block it.
Team-Sports-RSVP/src/services/ScheduleService.js
Lines 149 to 190 in a506f5e
What do you think about a change to have the emailer send emails to any game that is 3 days out [and/or 1, 2 days (this will be adjustable once a settings UI is in place)] , instead of just finding the next game day. Would probably simplify the task as well.