From c1031224a552ea01958d153350c2d1254b323579 Mon Sep 17 00:00:00 2001 From: Osama Sayegh Date: Wed, 19 Mar 2025 21:59:42 +0300 Subject: [PATCH] Add upcoming Saudi holidays (Eid Al Fitr) (#707) The 30th of March to the 1st of April of 2025 is a public holiday in Saudi Arabia as per https://holidayapi.com/countries/sa/2025. --- vendor/holidays/definitions/sa.yaml | 32 +++++++++---------- .../holidays/lib/generated_definitions/sa.rb | 8 ++--- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/vendor/holidays/definitions/sa.yaml b/vendor/holidays/definitions/sa.yaml index ad30ff9c..f3df1c51 100644 --- a/vendor/holidays/definitions/sa.yaml +++ b/vendor/holidays/definitions/sa.yaml @@ -6,7 +6,23 @@ months: - name: Foundation Day regions: [sa] mday: 22 + 3: + - name: Festival of Breaking the Fast + regions: [sa] + mday: 30 + year_ranges: + limited: [2025] + - name: Second Day of the Festival of Breaking the Fast + regions: [sa] + mday: 31 + year_ranges: + limited: [2025] 4: + - name: Third Day of the Festival of Breaking the Fast + regions: [sa] + mday: 1 + year_ranges: + limited: [2025] - name: Festival of Breaking the Fast regions: [sa] mday: 9 @@ -37,22 +53,6 @@ months: mday: 23 year_ranges: limited: [2023] - 5: - - name: Festival of Breaking the Fast - regions: [sa] - mday: 2 - year_ranges: - limited: [2022] - - name: Second Day of the Festival of Breaking the Fast - regions: [sa] - mday: 3 - year_ranges: - limited: [2022] - - name: Third Day of the Festival of Breaking the Fast - regions: [sa] - mday: 4 - year_ranges: - limited: [2022] 6: - name: Day of Arafah regions: [sa] diff --git a/vendor/holidays/lib/generated_definitions/sa.rb b/vendor/holidays/lib/generated_definitions/sa.rb index b12d9a0e..bb6806f1 100644 --- a/vendor/holidays/lib/generated_definitions/sa.rb +++ b/vendor/holidays/lib/generated_definitions/sa.rb @@ -13,15 +13,15 @@ module Holidays def self.holidays_by_month { 2 => [{:mday => 22, :name => "Foundation Day", :regions => [:sa]}], - 4 => [{:mday => 9, :year_ranges => { :limited => [2024] },:name => "Festival of Breaking the Fast", :regions => [:sa]}, + 3 => [{:mday => 30, :year_ranges => { :limited => [2025] },:name => "Festival of Breaking the Fast", :regions => [:sa]}, + {:mday => 31, :year_ranges => { :limited => [2025] },:name => "Second Day of the Festival of Breaking the Fast", :regions => [:sa]}], + 4 => [{:mday => 1, :year_ranges => { :limited => [2025] },:name => "Third Day of the Festival of Breaking the Fast", :regions => [:sa]}, + {:mday => 9, :year_ranges => { :limited => [2024] },:name => "Festival of Breaking the Fast", :regions => [:sa]}, {:mday => 10, :year_ranges => { :limited => [2024] },:name => "Second Day of the Festival of Breaking the Fast", :regions => [:sa]}, {:mday => 11, :year_ranges => { :limited => [2024] },:name => "Third Day of the Festival of Breaking the Fast", :regions => [:sa]}, {:mday => 21, :year_ranges => { :limited => [2023] },:name => "Festival of Breaking the Fast", :regions => [:sa]}, {:mday => 22, :year_ranges => { :limited => [2023] },:name => "Second Day of the Festival of Breaking the Fast", :regions => [:sa]}, {:mday => 23, :year_ranges => { :limited => [2023] },:name => "Third Day of the Festival of Breaking the Fast", :regions => [:sa]}], - 5 => [{:mday => 2, :year_ranges => { :limited => [2022] },:name => "Festival of Breaking the Fast", :regions => [:sa]}, - {:mday => 3, :year_ranges => { :limited => [2022] },:name => "Second Day of the Festival of Breaking the Fast", :regions => [:sa]}, - {:mday => 4, :year_ranges => { :limited => [2022] },:name => "Third Day of the Festival of Breaking the Fast", :regions => [:sa]}], 6 => [{:mday => 15, :year_ranges => { :limited => [2024] },:name => "Day of Arafah", :regions => [:sa]}, {:mday => 16, :year_ranges => { :limited => [2024] },:name => "Day 1 of Eid Al Adha", :regions => [:sa]}, {:mday => 17, :year_ranges => { :limited => [2024] },:name => "Day 2 of Eid Al Adha", :regions => [:sa]},