Skip to content

Commit

Permalink
Capitalisation of Anzac Day
Browse files Browse the repository at this point in the history
Checked the legislation, and it should be Anzac, not ANZAC
  • Loading branch information
Mortein committed Jun 30, 2020
1 parent f547b21 commit fe6a788
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion holidays/nz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PH: # https://en.wikipedia.org/wiki/Public_holidays_in_New_Zealand
- {'name': 'Waitangi Day', 'fixed_date': [2, 6]}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'Anzac Day', 'fixed_date': [4, 25]}
- {'name': 'Queen''s Birthday', 'variable_date': firstJuneMonday}
- {'name': 'Labour Day', 'variable_date': firstOctoberMonday, 'offset': 21}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
Expand Down
4 changes: 2 additions & 2 deletions test.de.log
Original file line number Diff line number Diff line change
Expand Up @@ -1076,10 +1076,10 @@ With warnings:
"Variable days: Weekday in given week." for "PH": PASSED
With warnings:
*PH <--- (Diese Regel ist nicht sehr aussagekräftig, da kein Zeit Selektor angegeben wurde. Ein Zeit Selektor ist die Komponente die angibt, zu welcher Tageszeit ein Objekt geöffnet hat, zum Beispiel "10:00-19:00". Bitte füge eine Zeitangabe oder einen Kommentar hinzu, um dies zu verbessern.)
"Variable days: Ireland public holidays." for "PH": PASSED
"Variable days: New Zealand public holidays." for "PH": PASSED
With warnings:
*PH <--- (Diese Regel ist nicht sehr aussagekräftig, da kein Zeit Selektor angegeben wurde. Ein Zeit Selektor ist die Komponente die angibt, zu welcher Tageszeit ein Objekt geöffnet hat, zum Beispiel "10:00-19:00". Bitte füge eine Zeitangabe oder einen Kommentar hinzu, um dies zu verbessern.)
"Variable days: New Zealand public holidays." for "PH": PASSED
"Variable days: Ireland public holidays." for "PH": PASSED
With warnings:
*PH <--- (Diese Regel ist nicht sehr aussagekräftig, da kein Zeit Selektor angegeben wurde. Ein Zeit Selektor ist die Komponente die angibt, zu welcher Tageszeit ein Objekt geöffnet hat, zum Beispiel "10:00-19:00". Bitte füge eine Zeitangabe oder einen Kommentar hinzu, um dies zu verbessern.)
"Weekdays" for "Mo,Th,Sa,Su 10:00-12:00": PASSED
Expand Down
4 changes: 2 additions & 2 deletions test.en.log
Original file line number Diff line number Diff line change
Expand Up @@ -897,10 +897,10 @@ With warnings:
"Variable days: Weekday in given week." for "PH": PASSED
With warnings:
*PH <--- (This rule is not very explicit because there is no time selector being used. A time selector is the part specifying hours when the object is opened, for example "10:00-19:00". Please add a time selector to this rule or use a comment to make it more explicit.)
"Variable days: Ireland public holidays." for "PH": PASSED
"Variable days: New Zealand public holidays." for "PH": PASSED
With warnings:
*PH <--- (This rule is not very explicit because there is no time selector being used. A time selector is the part specifying hours when the object is opened, for example "10:00-19:00". Please add a time selector to this rule or use a comment to make it more explicit.)
"Variable days: New Zealand public holidays." for "PH": PASSED
"Variable days: Ireland public holidays." for "PH": PASSED
With warnings:
*PH <--- (This rule is not very explicit because there is no time selector being used. A time selector is the part specifying hours when the object is opened, for example "10:00-19:00". Please add a time selector to this rule or use a comment to make it more explicit.)
"Weekdays" for "Mo,Th,Sa,Su 10:00-12:00": PASSED
Expand Down
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2458,7 +2458,7 @@ test.addTest('Variable days: New Zealand public holidays.', [
[ '2020-02-06 00:00', '2020-02-06 24:00', false, 'Waitangi Day' ],
[ '2020-04-10 00:00', '2020-04-10 24:00', false, 'Good Friday' ],
[ '2020-04-13 00:00', '2020-04-13 24:00', false, 'Easter Monday' ],
[ '2020-04-25 00:00', '2020-04-25 24:00', false, 'ANZAC Day' ],
[ '2020-04-25 00:00', '2020-04-25 24:00', false, 'Anzac Day' ],
[ '2020-06-01 00:00', '2020-06-01 24:00', false, 'Queen\'s Birthday' ],
[ '2020-10-26 00:00', '2020-10-26 24:00', false, 'Labour Day' ],
[ '2020-12-25 00:00', '2020-12-25 24:00', false, 'Christmas Day' ],
Expand All @@ -2468,7 +2468,7 @@ test.addTest('Variable days: New Zealand public holidays.', [
[ '2021-02-06 00:00', '2021-02-06 24:00', false, 'Waitangi Day' ],
[ '2021-04-02 00:00', '2021-04-02 24:00', false, 'Good Friday' ],
[ '2021-04-05 00:00', '2021-04-05 24:00', false, 'Easter Monday' ],
[ '2021-04-25 00:00', '2021-04-25 24:00', false, 'ANZAC Day' ],
[ '2021-04-25 00:00', '2021-04-25 24:00', false, 'Anzac Day' ],
[ '2021-06-07 00:00', '2021-06-07 24:00', false, 'Queen\'s Birthday' ],
[ '2021-10-25 00:00', '2021-10-25 24:00', false, 'Labour Day' ],
[ '2021-12-25 00:00', '2021-12-25 24:00', false, 'Christmas Day' ],
Expand All @@ -2478,7 +2478,7 @@ test.addTest('Variable days: New Zealand public holidays.', [
[ '2022-02-06 00:00', '2022-02-06 24:00', false, 'Waitangi Day' ],
[ '2022-04-15 00:00', '2022-04-15 24:00', false, 'Good Friday' ],
[ '2022-04-18 00:00', '2022-04-18 24:00', false, 'Easter Monday' ],
[ '2022-04-25 00:00', '2022-04-25 24:00', false, 'ANZAC Day' ],
[ '2022-04-25 00:00', '2022-04-25 24:00', false, 'Anzac Day' ],
[ '2022-06-06 00:00', '2022-06-06 24:00', false, 'Queen\'s Birthday' ],
[ '2022-10-24 00:00', '2022-10-24 24:00', false, 'Labour Day' ],
[ '2022-12-25 00:00', '2022-12-25 24:00', false, 'Christmas Day' ],
Expand Down

0 comments on commit fe6a788

Please sign in to comment.