Skip to content

Additional holidays and holiday fix for Australia#10

Open
arguellesjonas wants to merge 12 commits into
holidays-feb-3-2025from
holidays-april-16-2025
Open

Additional holidays and holiday fix for Australia#10
arguellesjonas wants to merge 12 commits into
holidays-feb-3-2025from
holidays-april-16-2025

Conversation

@arguellesjonas
Copy link
Copy Markdown

@arguellesjonas arguellesjonas commented Apr 16, 2025

NT / Darwin
    Sunday 20 April - Easter Sunday
    Monday 4 August - Picnic Day
Queensland / Brisbane
    Sunday 20 April - Easter Sunday
South Australia / Adelaide
    Sunday 20 April - Easter Sunday
Western Australia / Perth
    Sunday 20 April - Easter Sunday

@arguellesjonas arguellesjonas changed the title Additional holiday fix Additional holidays and holiday fix for Australia Apr 16, 2025
@arguellesjonas arguellesjonas requested a review from kcsuyog April 16, 2025 01:41
    NT / Darwin
        Sunday 20 April - Easter Sunday
        Monday 4 August - Picnic Day
    Queensland / Brisbane
        Sunday 20 April - Easter Sunday
    South Australia / Adelaide
        Sunday 20 April - Easter Sunday
        Friday 25 April <= this date is listed twice
    Western Australia / Perth
        Sunday 20 April - Easter Sunday
        Fri - 25 Apr 2025 <= this date is listed twice
@arguellesjonas arguellesjonas force-pushed the holidays-april-16-2025 branch from 5066525 to 0bc5912 Compare April 16, 2025 02:10
Comment thread definitions/au.yaml Outdated
regions: [au]
mday: 25
- name: Easter Sunday
regions: [au_nt, au_qld, au_sa, au_wa]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arguellesjonas can you confirm we are not suposed to add easter sunday for nsw?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with method saying , enable this from 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0
  - name: Easter Sunday
    regions: [au_nt, au_qld, au_sa, au_wa]
    function: easter_from_2025

- easter_from_2025: 
    arguments: year
    source: |
      if year >=2025
        easter(date)
      end

Copy link
Copy Markdown

@kcsuyog kcsuyog Apr 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4:

  • name: Easter Sunday
    regions: [au_nt, au_qld, au_sa, au_wa]
    function: easter_sunday_for_2025

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done now

Comment thread definitions/au.yaml Outdated
mday: 25
- name: Easter Sunday
regions: [au_nt, au_qld, au_sa, au_wa]
mday: 20
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert this

Comment thread definitions/au.yaml
regions: [au_qld_brisbane]
week: -3
wday: 3
- name: Picnic Day
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to have a function to enable this from 2025 onwards

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done now.

@arguellesjonas arguellesjonas force-pushed the holidays-april-16-2025 branch from f4270c4 to 454c790 Compare April 16, 2025 04:35
@arguellesjonas arguellesjonas force-pushed the holidays-april-16-2025 branch from 1806e8a to 6f57f45 Compare April 16, 2025 04:59
Comment thread definitions/au.yaml
arguments: year
source: |
if year >= 2025
DateCalculatorFactory::Easter::Gregorian.easter_calculator.calculate_easter_for(year)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didnt realized we had this method

tob1k and others added 5 commits November 28, 2025 14:32
Fix Ruby 3.1+ Date#to_s deprecation warning in ProcResultCache
ANZAC Day falls on Saturday April 25, 2026. NSW has announced
Monday April 27 as an additional public holiday for 2026 only.
ANZAC Day falls on Sunday April 25, 2027. NSW observes Monday
April 26 as an additional public holiday.
Add ANZAC Day 2026 observed holiday for NSW (April 27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants