- Added permitted classes to YAML's
safe_load
#112 - thanks @attack - Removed support for Ruby 2.4, 2.5
- Fix regression on
Calendar#new
#83 - thanks @ineu!
- Add
Business::Calendar#name
- thanks @mattmcf!
- Add seperate
working_day?
andholiday?
methods to the calendar
🚨 BREAKING CHANGES 🚨
For more on the breaking changes that have been introduced in v2.0.0 please see the readme.
- Remove bundled calendars see this pr for more context. If you need to use any of the previously bundled calendars, see here
Business::Calendar.load_paths=
is now required
- Correct Danish public holidays
- Change May Bank Holiday 2020 for UK (Bacs) - this was moved to the 8th.
- Add 2020 holidays for PAD.
- Add holiday calendar for France (Target(SEPA) + French bank holidays)
- Fix holiday calendar for ACH U.S.
- Add holiday calendar for ACH U.S.
- Add holiday calendar for PAD Canada
- Add holiday calendar for BECS New Zealand
- Fix June's 2018 bank holidays for Bankgirot
- Add support for specifying
extra_working_dates
(special dates that are "working days", even though they are not one of the specified days, for example weekend dates that are considered to be working days)
- Add Betalingservice & BECS calendars up until 2020
- Add 2017-2018 BECS holiday definitions
- Handle properly calendar initialization by Date objects (not strings), coming from both YAML config and initialize().
- Add 2018-2019 Betalingsservice holiday definitions
- Add 2017 Betalingsservice holiday definitions
- Add 2018-2027 TARGET holiday defintions
- Add 2018-2027 Bankgirot holiday defintions
- Add 2018-2027 BACS holiday defintions
- Add 2017 BACS holiday definitions
- Add 2017 and 2018 TARGET holiday definitions
- Add 2016 holiday definitions
- Add support for custom calendar load paths
- Remove the 'sepa' calendar
- Add
Calendar#previous_business_day
- Add TARGET calendar
- Add 2015 holiday definitions
- Initial public release