Closed jibarra closed 2 years ago
👋 @ppeble and @ttwo32 - I think this is good to be reviewed. Could I get eyes on this change?
Please let me know if I can direct this to other folks too.
@jibarra I'm really sorry for my late response. Maybe this PR is the same as #214. (Because I neglected maintenance. sorry💦 )
Yup #214 looks the same. I'll close this out.
According to the Federal Reserve website, bank holidays that fall on a Saturday are still observed on that Saturday. Bank holidays that fall on a Sunday are observed the following Monday. This updates the rules for Juneteenth's observed date to follow these rules. It also lines up with the rules for all the other federal reserve holidays in this definition.
I've updated tests for this new behavior and added another test to ensure the Sunday case is handled.