Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
304 commits
Select commit Hold shift + click to select a range
a79b757
Update Melbourne Cup Day Holiday
levelone Dec 13, 2019
be0d270
Update Melbourne Cup Holiday
levelone Dec 17, 2019
0554e5f
Update may day uk
prfraser Jan 14, 2020
c478a4f
Update mm.yaml
Jan 16, 2020
a27dfa4
Merge pull request #6 from alexanderholder/master
Jan 16, 2020
056f78a
Merge branch 'master' of github.com:TandaHQ/definitions
marvinjason Jan 23, 2020
c251312
Fix Australia Day and Boxing Day for Norfolk
marvinjason Jan 23, 2020
fbb6e8f
FIX: ACT observes ANZAC Day on Monday if it falls on the weekend at a…
adamlyons2 Apr 15, 2020
81ce87b
add grandfinal 2020 public holiday
Oct 13, 2020
ffc4b09
syntax
Oct 13, 2020
f09772f
Merge pull request #7 from TandaHQ/hotfix/add-afl-grandf-2020
Jyeb Oct 13, 2020
f9642fd
manual addition of missing Boxing Day holidays for applicable states …
calebleungg Dec 1, 2020
ebc4f86
add tests for additional boxing-day ph
calebleungg Dec 1, 2020
0c94824
Merge pull request #8 from TandaHQ/hotfix/additional-boxing-day-holiday
calebleungg Dec 2, 2020
4557781
adding additional ph definitions for anzac/xmax/boxing day in prep fo…
calebleungg Dec 2, 2020
ada3b41
missing function syntax in definitions
calebleungg Dec 2, 2020
42ffeae
revert previous change
calebleungg Dec 2, 2020
1354739
fix wrong argument parsed to observed method boxing day
calebleungg Dec 2, 2020
493d43f
Merge pull request #9 from TandaHQ/hotfix/additional-ph-2021
Dec 2, 2020
94aa8d2
sorry forgot main :au country key on anzac day actual
calebleungg Dec 2, 2020
af0cbfc
Merge pull request #10 from TandaHQ/hotfix/additional-ph-2021
Dec 2, 2020
47d55ad
remove :au from boxing/xmas/anzac default
calebleungg Dec 3, 2020
bf04d1c
moving SA to non-addition boxing day for 2020
calebleungg Dec 3, 2020
dcc1145
remove SA observed as it changes to additional xmas in 2021
calebleungg Dec 7, 2020
b7b7b0e
remove return inside lambda def
calebleungg Dec 7, 2020
45fa5a3
Merge pull request #11 from TandaHQ/hotfix/additional-ph-2021
Dec 7, 2020
e5d5ca2
adding xmas/boxing additionals to nt also
calebleungg Dec 9, 2020
7b232ba
Merge pull request #12 from TandaHQ/hotfix/nt-additiona-ph-2020-21
Dec 9, 2020
4c1e6b5
Update May Day UK
prfraser Jan 4, 2021
df30db7
Merge branch 'master' of github.com:TandaHQ/definitions
prfraser Jan 4, 2021
7dcfaf7
Update May Day in UK
prfraser Jan 4, 2021
12d7807
Merge pull request #14 from TandaHQ/hotfix/update-uk-may-day-definint…
prfraser Jan 4, 2021
438d6e6
Create NZ_calendar_day.yaml
Jan 19, 2021
cc7698a
Rename NZ_calendar_day.yaml to NZ_calendar_dates.yaml
Jan 19, 2021
e0f7c21
Rename NZ_calendar_dates.yaml to nz_calendar_dates.yaml
Jan 20, 2021
6e2f47b
Update index.yaml
Jan 20, 2021
43bd9f6
Update index.yaml
Jan 20, 2021
b6866fb
Merge pull request #15 from TandaHQ/add-nz-calendar-day-holidays
Jan 20, 2021
7b08a0b
Update index.yaml
Jan 20, 2021
23bea04
rename to nz2
Jan 21, 2021
05a432a
update index for nz2
Jan 21, 2021
02b21c6
update all regions to be nz2
Jan 21, 2021
f641baf
Correct nz holiday names
Jan 21, 2021
1d6aa51
add act public holiday
Apr 16, 2021
538ee41
Merge pull request #16 from TandaHQ/add-act-pub-hol
Jyeb Apr 18, 2021
5f3bac3
fix
Apr 19, 2021
f1629b3
Merge pull request #17 from TandaHQ/add-act-pub-hol
Jyeb Apr 19, 2021
e4be68f
Create mu.yaml
beaugrzanich Jun 2, 2021
aa3b04b
Merge pull request #18 from beaugrzanich/patch-1
mattkuras Jun 10, 2021
faf4d5f
Add Mauritius
beaugrzanich Jun 11, 2021
4986fc4
Merge pull request #19 from beaugrzanich/patch-3
mattkuras Jun 14, 2021
2672e89
initial commit
tyler-mcwilliam Jun 21, 2021
ca6ef8f
update additional anzac day in au.yaml to pass tests
tyler-mcwilliam Jun 21, 2021
b9bdc75
Restore au.yaml
tyler-mcwilliam Jun 21, 2021
75b1510
Merge pull request #20 from TandaHQ/hotfix/mu-yaml-syntax
tyler-mcwilliam Jun 21, 2021
4954af7
Add picnic day
frankisawesome Jul 28, 2021
a1259d8
add test
frankisawesome Jul 28, 2021
6761eb1
fix broken syntax
frankisawesome Jul 28, 2021
79d2acc
Merge pull request #21 from TandaHQ/add-picnic-day-for-nt
frankisawesome Jul 28, 2021
ce51972
AFL GF 2021
volsci Sep 14, 2021
2b594b4
Changing Christmas replacement date to Friday
beaugrzanich Oct 15, 2021
27d1ac4
removed Melbourne Cup holiday from au_vic region and fixed a few tests
chrisops Oct 28, 2021
55b3baf
Merge pull request #22 from TandaHQ/PFC-3554/remove-melbourne-cup-hol…
chrisops Oct 28, 2021
1edf0c7
fixed USA holiday tests
chrisops Nov 1, 2021
536c4cf
Merge pull request #23 from TandaHQ/PFC-3554/remove-melbourne-cup-hol…
chrisops Nov 1, 2021
da015f7
Updating Public Holidays for UK 2022
DanjChick68 Nov 2, 2021
24b819a
Revert "fixed USA holiday tests"
chrisops Nov 3, 2021
8484f29
Merge pull request #24 from TandaHQ/revert-23-PFC-3554/remove-melbour…
chrisops Nov 3, 2021
71cb5d1
Revert "removed Melbourne Cup holiday from au_vic region and fixed a …
chrisops Nov 3, 2021
e847c4e
Merge pull request #25 from TandaHQ/revert-22-PFC-3554/remove-melbour…
chrisops Nov 3, 2021
4840057
Merge branch 'master' of https://github.com/TandaHQ/definitions
DanjChick68 Nov 3, 2021
e00bfe7
Update Definitions file
DanjChick68 Nov 3, 2021
f0eeb33
Update gb.yaml
prfraser Nov 4, 2021
971d907
fix boxing day for uk
prfraser Nov 4, 2021
7bb0b05
Boxing day not pushed in uk 2022
prfraser Nov 4, 2021
05b5b40
oopsie
prfraser Nov 4, 2021
1a46578
Merge pull request #27 from TandaHQ/hotfix/uk-christmas-date-ranges
prfraser Nov 4, 2021
cc97f01
Revert US change
prfraser Nov 4, 2021
3ed7dbd
Merge branch 'master' of https://github.com/TandaHQ/definitions
DanjChick68 Nov 5, 2021
4ad3b8b
Update gb.yaml
DanjChick68 Nov 5, 2021
21b93b8
Merge pull request #28 from DanjChick68/Capitalise-Bank-Holidays
DanjChick68 Nov 5, 2021
c2cffd6
added new rules for SA christmas day, NT boxing day, and additional N…
chrisops Nov 9, 2021
9b4e59f
added tests
chrisops Nov 9, 2021
3b4bbe0
Merge pull request #29 from TandaHQ/PFC-3593/au-nyd-and-christmas-cha…
chrisops Nov 9, 2021
bb3fbad
fixed NT boxing day
chrisops Nov 9, 2021
53afa58
Merge pull request #30 from TandaHQ/PFC-3593/au-nyd-and-christmas-cha…
chrisops Nov 9, 2021
bacbb27
fixed SA and NT public holidays
chrisops Nov 9, 2021
8de1d67
fixed SA and NT holidays
chrisops Nov 9, 2021
bf97496
fixed SA boxing day
chrisops Nov 9, 2021
703c03f
fixed SA christmas
chrisops Nov 9, 2021
79c986b
fixed NT/SA boxing day
chrisops Nov 9, 2021
22fbfa9
fixed boxing day again NT
chrisops Nov 9, 2021
c00e63e
fixed SA christmas day
chrisops Nov 9, 2021
699a4f1
fixed SA additional boxing day
chrisops Nov 10, 2021
ac616c3
added method
chrisops Nov 10, 2021
e16c208
Merge branch 'master' into PFC-3593/au-nyd-and-christmas-changes
chrisops Nov 10, 2021
80d6841
Merge pull request #31 from TandaHQ/PFC-3593/au-nyd-and-christmas-cha…
chrisops Nov 10, 2021
e3eaa20
added NYD back to AU region
chrisops Nov 12, 2021
1132a54
removed NYD from AU again
chrisops Nov 17, 2021
bdf8a8c
Merge pull request #32 from TandaHQ/PFC-3593/au-nyd-and-christmas-cha…
chrisops Nov 17, 2021
0c8afbc
nt now has additional public holiday for boxing day
JJcheesy Dec 14, 2021
44baf9b
Merge pull request #33 from TandaHQ/hotfix/ISD-1152-au-nt-boxingday
JJcheesy Dec 14, 2021
7291bab
Fix US holiday dates
ghiculescu Dec 20, 2021
d55e567
Add Matariki manual logic
benaitcheson Dec 22, 2021
90bde27
Amend Matariki PH function
benaitcheson Dec 22, 2021
caa466b
Merge pull request #34 from TandaHQ/hotfix/add-matariki-nz-ph
benaitcheson Dec 22, 2021
4a9a07c
WA gets Easter Sunday for 2022 onwards
benaitcheson Mar 14, 2022
3bc6369
Merge pull request #35 from TandaHQ/hotfix/PFC-4136-Easter-Sunday-WA
benaitcheson Mar 14, 2022
c91bd09
change au yaml for new easter sunday PH
benaitcheson Apr 4, 2022
531d3aa
Merge pull request #36 from TandaHQ/hotfix/PFC-4196-NT-Easter-Sunday-…
benaitcheson Apr 4, 2022
0e94c91
add matariki PH to the second nz yaml
benaitcheson Jun 16, 2022
5c12a8a
Merge pull request #37 from TandaHQ/hotfix/pfc-4385-matariki-take2
benaitcheson Jun 16, 2022
0b27e7d
added juneteenth
oroth8 Jun 17, 2022
f809625
added holidays and tests
oroth8 Jun 17, 2022
94c2183
add observed
oroth8 Jun 17, 2022
6aff6a1
updated us with upstream defs
oroth8 Jun 17, 2022
5c8a323
Merge pull request #38 from TandaHQ/add-juneteenth-holidays-to-us
oroth8 Jun 17, 2022
2e32f0e
added revert, then just added juneteenth
oroth8 Jun 17, 2022
f92cf69
Merge pull request #39 from TandaHQ/copy-only-juneteenth-from-upstream
oroth8 Jun 17, 2022
095f29e
2022 AFL grand final VIC
benaitcheson Aug 25, 2022
a6d79f9
pushed code from something I started accidentially
benaitcheson Aug 25, 2022
78356bd
linting
benaitcheson Aug 25, 2022
bb478bf
lint take 2
benaitcheson Aug 25, 2022
0c3558f
PFC-4532 (fix) 2022 AFL Grand Final VIC
benaitcheson Aug 25, 2022
39f4ee8
Fix MU bank hol
DanjChick68 Aug 30, 2022
7ea4adf
Merge pull request #42 from TandaHQ/hotfix/fix-bh
DanjChick68 Aug 30, 2022
da1a2aa
amend yaml to include PH for all locations
benaitcheson Sep 11, 2022
d5f6a8d
PFC-4672 (fix) Mourning for Queen Elizabeth II (au only)
benaitcheson Sep 12, 2022
733e81b
mourning day to NZ PH
benaitcheson Sep 12, 2022
fdab966
make aus mourning PH better
benaitcheson Sep 12, 2022
ad5e24c
PFC-4676 (fix) Mourning for Queen Elizabeth II (nz only)
benaitcheson Sep 12, 2022
33dc5d3
Add new Bank hol for UK
DanjChick68 Sep 12, 2022
bee71d2
Merge pull request #46 from TandaHQ/hotfix-new-uk-bh
DanjChick68 Sep 12, 2022
37cbef2
Remove whitespace
DanjChick68 Sep 12, 2022
3ddb95e
Remove new BH for UK
DanjChick68 Sep 13, 2022
e534df4
Merge pull request #47 from TandaHQ/hotfix/remove-UK-queen-BH
DanjChick68 Sep 13, 2022
02e7e96
Add file for Uruguay
beaugrzanich Sep 13, 2022
1a39b78
Merge pull request #48 from TandaHQ/hotfix/add-uy
DanjChick68 Sep 16, 2022
d694d3a
ADD: additional days for weekend
benaitcheson Nov 16, 2022
a0bcc4b
FIX: Christmas day not boxing day for the extra
benaitcheson Nov 16, 2022
262510a
FIX: boxing day to tuesday if Sunday
benaitcheson Nov 17, 2022
260bd22
FIX: function not observed
benaitcheson Nov 17, 2022
051816c
FIX: needs to be nil if not applicable
benaitcheson Nov 17, 2022
5c3f098
FIX: remove extra boxing day and make xmas on tuesday if boxing day m…
benaitcheson Nov 17, 2022
177f0a6
FIX: no need for extra xmas here
benaitcheson Nov 17, 2022
a6f026f
PFC-4905 (fix) Additional days for Norfolk Island
benaitcheson Nov 17, 2022
bb07abe
Update diwali date in mu.yaml
DanjChick68 Nov 29, 2022
cabd22e
Merge pull request #50 from TandaHQ/DanjChick68-update-diwali-date
DanjChick68 Nov 29, 2022
aa5f520
FIX: SA getting New Years day and the observed day
benaitcheson Dec 1, 2022
96ae713
FIX: make SA only apply after 2022
benaitcheson Dec 2, 2022
ac159d1
FIX: make 2023 because after is inclusive
benaitcheson Dec 2, 2022
59b885c
PFC-4946 (fix) SA to get New Years day and observed
benaitcheson Dec 2, 2022
adf90d6
Add St Brigids Day as Irish Bank holiday
DanjChick68 Dec 19, 2022
16dd28e
Merge pull request #52 from TandaHQ/hotifx/add-brigids-ie-bh
DanjChick68 Dec 19, 2022
adbc600
Remove 1st of Jan from ES PH
DanjChick68 Dec 21, 2022
ba6ac1c
Merge pull request #53 from TandaHQ/hotfix/remove-es-bh
DanjChick68 Dec 21, 2022
cbc575e
Change year range for es bh
DanjChick68 Dec 21, 2022
06a7664
Merge pull request #54 from TandaHQ/hotfix/remove-es-bh-2023
DanjChick68 Dec 21, 2022
2e8801f
Correct public holiday for malaysais to be first monday of June
seanmichael07 Dec 22, 2022
1f36a4f
Merge pull request #55 from TandaHQ/hotfix/pfc-4972-correct-public-ho…
seanmichael07 Dec 23, 2022
a32cc9b
Add Kings Coronation to UK BH 2023
DanjChick68 Dec 23, 2022
9c0ebd0
Merge pull request #56 from TandaHQ/hotfix/add-kings-coronation-bh-2023
DanjChick68 Dec 23, 2022
a3f7cb6
add uruguay to index file
mattkuras Jan 9, 2023
ca765be
Merge pull request #57 from TandaHQ/hotfix/add-uruguay-holidays
mattkuras Jan 9, 2023
661ea4f
ADD: Easter Sunday for NT plus tests so it applies from 2023 and forward
benaitcheson Mar 10, 2023
e7aa1bd
FIX: wrong year for NT Easter Sunday
benaitcheson Mar 10, 2023
ced51d4
PFC-5173 (fix) Easter Sunday for NT
benaitcheson Mar 12, 2023
5dc8f70
Change Capitalization for NF comment
DanjChick68 Mar 26, 2023
ef7b882
Merge pull request #59 from TandaHQ/hotfix/change-capitalization-test
DanjChick68 Mar 26, 2023
aed262d
Update nf.yaml
DanjChick68 Mar 27, 2023
97316f6
Merge pull request #60 from TandaHQ/hotfix/change-back-capital
DanjChick68 Mar 27, 2023
69dc547
added king's bday
le0n Jun 13, 2023
16fc000
Merge pull request #61 from TandaHQ/add-kings-birthday
le0n Jun 14, 2023
2a081df
Commit my afl ph changes
zakmoCA Aug 14, 2023
1a85773
removed bundle, vendor files, and the gitignore for them
zakmoCA Aug 15, 2023
499e899
removed unnecessary files
zakmoCA Aug 15, 2023
c72dfca
Merge pull request #62 from zakmoCA/hotfix/afl-public-holiday-24-25
zakmoCA Aug 15, 2023
3d81a2c
Add Cyprus Bank Holidays to Definitions
DanjChick68 Nov 13, 2023
a3f8ec9
Merge pull request #63 from TandaHQ/feature/add-cyprus-bank-holidays
DanjChick68 Nov 13, 2023
8811094
update mu public holidays
ScAziz Jan 18, 2024
eedd2c8
remove-force-changes
ScAziz Jan 18, 2024
78709bc
Merge pull request #64 from TandaHQ/remove-mu-ph
ScAziz Jan 18, 2024
6753f8d
Fix MU Public Holidays
DanjChick68 Jan 18, 2024
1cd7221
Merge pull request #66 from TandaHQ/hotfix/fix-mu-phs
DanjChick68 Jan 18, 2024
862e605
Update St Brigids Day IE Bank Holiday Date
DanjChick68 Feb 9, 2024
3aa9569
Merge pull request #68 from TandaHQ/hotfix/update-brigids-day-ie-date
DanjChick68 Feb 9, 2024
e16813b
Hotfix: Updated kings birthday
MossJTanda Feb 12, 2024
9891840
Merge pull request #69 from TandaHQ/L2S-3549-WA-KingBDay
MossJTanda Feb 12, 2024
64bc616
Hotfix: created a 2024 exception
MossJTanda Feb 12, 2024
b399351
Merge pull request #70 from TandaHQ/L2S-3549-WA-KB-2024Update
MossJTanda Feb 12, 2024
8a76cf3
hotfix: Removed a troublesome space
MossJTanda Feb 12, 2024
3fc1707
Merge pull request #71 from TandaHQ/hotfix-James-WAKB2024
MossJTanda Feb 12, 2024
d777cb4
hotfix: I had to know
MossJTanda Feb 12, 2024
d03a143
hotfix: trying something new
MossJTanda Feb 12, 2024
417b47f
Update au.yaml
MossJTanda Feb 12, 2024
23e810f
hotfix: added 2023 KB back
MossJTanda Feb 12, 2024
e0748b9
hotfix: added 2023 KB back
MossJTanda Feb 12, 2024
437157b
hotfix: added a test for 2023
MossJTanda Feb 12, 2024
e0f522a
Merge pull request #72 from TandaHQ/James-KBWA2024
MossJTanda Feb 12, 2024
9f139de
add holidays
AxelTanda Feb 22, 2024
ee7bf7f
update comment
AxelTanda Feb 22, 2024
4cfae52
mispell
AxelTanda Feb 23, 2024
0969e0e
spacing
AxelTanda Feb 23, 2024
146cc9f
Merge pull request #73 from TandaHQ/update_singapore_holidays2
AxelTanda Feb 23, 2024
2e0e11a
wrong month
AxelTanda Feb 23, 2024
95807fe
add 2023 to singapore holidays
AxelTanda Feb 23, 2024
a056a35
fix up grammar
AxelTanda Feb 23, 2024
ffa5a55
go off ph.sg website
AxelTanda Feb 26, 2024
de51072
Invalid Octal digits
AxelTanda Feb 26, 2024
9dc3e45
return nil if no year
AxelTanda Feb 27, 2024
d99b284
Hotfix: Added easter sunday holiday for SA
MossJTanda Feb 28, 2024
2a4e0b7
Return to OG
MossJTanda Feb 28, 2024
622e621
Hotfix: manually added the holiday
MossJTanda Feb 28, 2024
cb4e8e7
Merge pull request #76 from TandaHQ/AddSAEasterSunday
MossJTanda Feb 28, 2024
a671aa0
hotfix: update a keyword to be correct
MossJTanda Feb 28, 2024
c7bfa10
Merge pull request #77 from TandaHQ/UpdateKeyword
MossJTanda Feb 28, 2024
c1f9e33
update naming for sg:
ScAziz Jun 17, 2024
e26496b
update st brigids day for 2025
ScAziz Jun 19, 2024
0dfab10
Merge pull request #79 from TandaHQ/update-st-brigids-day-date
ScAziz Jun 19, 2024
b1f6721
Fix St Brigid's Day for Ireland not being configured properly
DanielGilchrist Jan 30, 2025
5cc24c6
Update sg.yaml
mustafanda Apr 15, 2025
983d950
making changes to public holidays in Mauritius
mustafanda May 1, 2025
e6c6e66
Merge pull request #81 from TandaHQ/mauritius-holidays
mustafanda May 2, 2025
3cee0e7
remove these holidays
AxelTanda Jun 9, 2025
b6ece60
Merge pull request #83 from TandaHQ/Chore/remove-redundant-holidays
AxelTanda Jun 9, 2025
8e66caa
remove comma from MLK Day
jparker Jun 9, 2025
7fe4e17
fix all the things
jparker Jun 9, 2025
2b882e4
Merge pull request #84 from TandaHQ/mlk-comma
jparker Jun 9, 2025
4672a33
Update ANZAC day 2026
tonyjoblin Sep 15, 2025
0fe9213
Fix broken boxing day test
tonyjoblin Sep 15, 2025
06d6a75
Update Makefile to run both validate and test in one hit
tonyjoblin Sep 15, 2025
9568ec5
Put a stop to observing ANZAC day on monday in qld and nt
tonyjoblin Sep 15, 2025
004f591
Fix test for WA Kings Birthday
tonyjoblin Sep 16, 2025
94ab376
Add validation for missing date spec
tonyjoblin Sep 16, 2025
6e23da1
Fix failing test for tas boxing day
tonyjoblin Sep 16, 2025
b80ad1f
Split SA boxing day rules into before and after 2025
tonyjoblin Sep 16, 2025
3af463f
Fix tests related to boxing or proclamation day
tonyjoblin Sep 16, 2025
0f011a6
Revert "Fix tests related to boxing or proclamation day"
tonyjoblin Sep 29, 2025
47bc18f
Revert "Split SA boxing day rules into before and after 2025"
tonyjoblin Sep 29, 2025
3a71e59
Revert "Fix failing test for tas boxing day"
tonyjoblin Sep 29, 2025
e05fa12
Revert "Fix test for WA Kings Birthday"
tonyjoblin Sep 29, 2025
5644f2d
Changes to au tests to make things pass
tonyjoblin Oct 8, 2025
4dc3d40
Fix to qld and nt anzac day definition
tonyjoblin Oct 8, 2025
4877c5d
Fix QLD ANZAC day
tonyjoblin Oct 9, 2025
1bb511f
ACT ANZAC Day moves to Monday if falls on Sunday
tonyjoblin Oct 9, 2025
e7d53d7
Use additional_holiday_on_monday_if_on_weekend function
tonyjoblin Oct 9, 2025
c64828c
Partial revert and add back additional_anzac_on_monday_if_on_weekend
tonyjoblin Oct 9, 2025
c37bd54
Merge pull request #85 from TandaHQ/au-anzac-day-2026
tonyjoblin Oct 9, 2025
6f8574c
Merge pull request #86 from TandaHQ/ENG-2028-adjust-anzac-day-holiday…
jvnill Jan 12, 2026
b2caf91
Remove two unofficial bank holidays
charlieh-tanda Jan 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
default: validate
default: test

validate:
bundle exec ruby lib/validation/run.rb

test:
test: validate
bundle exec rspec

.PHONY: validate,test
2 changes: 1 addition & 1 deletion SYNTAX.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Then the holiday will be returned. This is especially useful for holidays like "

### Year ranges

Certain holidays in various countries are only in effect during specific year ranges. For example, a new holiday might come into effect that is only valid after a specific year (say, 2017).
Certain holidays in various countries are only in effect during specific year ranges. For example, a new holiday might come into effect that is only valid after a specific year (say, 2017). After is inclusive, if you put after: 2017 it will apply on 2017 and after.

To address this we have the ability to specify these 'year ranges' in the definition. The gem will then only return a match on a date that adheres to these rules.

Expand Down
Loading