From 6d4930d60aaa527825f46ae746978846c955cc38 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 24 Oct 2018 11:15:52 +0100 Subject: [PATCH 1/2] Add PAD holiday calendar --- CHANGELOG.md | 4 ++++ README.md | 1 + lib/business/data/padca.yml | 44 +++++++++++++++++++++++++++++++++++++ lib/business/version.rb | 2 +- 4 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 lib/business/data/padca.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 775d31a..69671c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.15.0 - October 24, 2018 + +- Add holiday calendar for PAD Canada + ## 1.14.0 - July 18, 2018 - Add holiday calendar for BECS New Zealand diff --git a/README.md b/README.md index f62a96f..45ec5a4 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,7 @@ The calendars that we include are: * Bankgirot * BECS (Australia) * BECSNZ (New Zealand) +* PAD (Canada) * Betalingsservice * Target (SEPA) diff --git a/lib/business/data/padca.yml b/lib/business/data/padca.yml new file mode 100644 index 0000000..6566a61 --- /dev/null +++ b/lib/business/data/padca.yml @@ -0,0 +1,44 @@ +working_days: + - monday + - tuesday + - wednesday + - thursday + - friday + +holidays: + - January 1st, 2018 + - January 2nd, 2018 + - February 12th, 2018 + - February 19th, 2018 + - March 30th, 2018 + - April 2nd, 2018 + - May 21st, 2018 + - June 21st, 2018 + - June 25th, 2018 + - July 2nd, 2018 + - July 9th, 2018 + - August 6th, 2018 + - August 20th, 2018 + - September 3rd, 2018 + - October 8th, 2018 + - November 12th, 2018 + - December 25th, 2018 + - December 26th, 2018 + - January 1st, 2019 + - January 2nd, 2019 + - February 11th, 2019 + - February 18th, 2019 + - April 19th, 2019 + - April 22nd, 2019 + - May 20th, 2019 + - June 21st, 2019 + - June 24th, 2019 + - July 1st, 2019 + - July 9th, 2019 + - August 5th, 2019 + - August 19th, 2019 + - September 2nd, 2019 + - October 14th, 2019 + - November 11th, 2019 + - December 25th, 2019 + - December 26th, 2019 diff --git a/lib/business/version.rb b/lib/business/version.rb index 532ba3c..a87d7b5 100644 --- a/lib/business/version.rb +++ b/lib/business/version.rb @@ -1,3 +1,3 @@ module Business - VERSION = "1.14.0" + VERSION = "1.15.0" end From 8bacc2115e4d941d75990362ace0a7af716dff1e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 24 Oct 2018 17:00:51 +0100 Subject: [PATCH 2/2] Remove regional holiday days. Add 2020 calculated days --- lib/business/data/padca.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/lib/business/data/padca.yml b/lib/business/data/padca.yml index 6566a61..b6f2c86 100644 --- a/lib/business/data/padca.yml +++ b/lib/business/data/padca.yml @@ -7,38 +7,21 @@ working_days: holidays: - January 1st, 2018 - - January 2nd, 2018 - - February 12th, 2018 - - February 19th, 2018 - March 30th, 2018 - - April 2nd, 2018 - May 21st, 2018 - - June 21st, 2018 - - June 25th, 2018 - July 2nd, 2018 - - July 9th, 2018 - - August 6th, 2018 - - August 20th, 2018 - September 3rd, 2018 - October 8th, 2018 - November 12th, 2018 - December 25th, 2018 - December 26th, 2018 - January 1st, 2019 - - January 2nd, 2019 - - February 11th, 2019 - - February 18th, 2019 - April 19th, 2019 - - April 22nd, 2019 - May 20th, 2019 - - June 21st, 2019 - - June 24th, 2019 - July 1st, 2019 - - July 9th, 2019 - - August 5th, 2019 - - August 19th, 2019 - September 2nd, 2019 - October 14th, 2019 - November 11th, 2019 - December 25th, 2019 - December 26th, 2019 + - January 1st, 2020 \ No newline at end of file