Skip to content

Commit

Permalink
Merge pull request #151 from KarloPletesImago/master
Browse files Browse the repository at this point in the history
New Croatian holidays 2020
  • Loading branch information
ttwo32 authored Dec 1, 2019
2 parents cee3220 + 12683a4 commit 96a1410
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions hr.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Croatian holiday definitions for the Ruby Holiday gem.
#
# Updated: 2012-08-29.
# Updated: 2019-11-21.
# Sources:
# http://en.wikipedia.org/wiki/Public_holidays_in_Croatia
---
Expand All @@ -21,22 +21,29 @@ months:
- name: Nova godina
regions: [hr]
mday: 1
- name: Sveta tri kralja
- name: Bogojavljenje ili Sveta tri kralja
regions: [hr]
mday: 6
5:
- name: Međunarodni praznik rada
- name: Praznik rada
regions: [hr]
mday: 1
- name: Dan državnosti
regions: [hr]
mday: 30
year_ranges:
from: 2020
6:
- name: Dan antifašističke borbe
regions: [hr]
mday: 22
- name: Dan državnosti
regions: [hr]
mday: 25
year_ranges:
until: 2020
8:
- name: Dan pobjede i domovinske zahvalnosti i dan hrvatskih branitelja
- name: Dan pobjede i domovinske zahvalnosti i Dan hrvatskih branitelja
regions: [hr]
mday: 5
- name: Velika Gospa
Expand All @@ -46,10 +53,17 @@ months:
- name: Dan neovisnosti
regions: [hr]
mday: 8
year_ranges:
until: 2020
11:
- name: Dan svih svetih
- name: Svi sveti
regions: [hr]
mday: 1
- name: Dan sjećanja na žrtve Domovinskog rata i Dan sjećanja na žrtvu Vukovara i Škabrnje
regions: [hr]
mday: 18
year_ranges:
from: 2020
12:
- name: Božić
regions: [hr]
Expand All @@ -70,21 +84,21 @@ tests:
regions: ["hr"]
options: ["informal"]
expect:
name: "Sveta tri kralja"
name: "Bogojavljenje ili Sveta tri kralja"
- given:
date: '2012-05-01'
regions: ["hr"]
options: ["informal"]
expect:
name: "Međunarodni praznik rada"
name: "Praznik rada"
- given:
date: '2012-06-22'
regions: ["hr"]
options: ["informal"]
expect:
name: "Dan antifašističke borbe"
- given:
date: '2012-06-25'
date: '2020-05-30'
regions: ["hr"]
options: ["informal"]
expect:
Expand All @@ -94,25 +108,25 @@ tests:
regions: ["hr"]
options: ["informal"]
expect:
name: "Dan pobjede i domovinske zahvalnosti i dan hrvatskih branitelja"
name: "Dan pobjede i domovinske zahvalnosti i Dan hrvatskih branitelja"
- given:
date: '2012-08-15'
regions: ["hr"]
options: ["informal"]
expect:
name: "Velika Gospa"
- given:
date: '2012-10-08'
date: '2020-11-18'
regions: ["hr"]
options: ["informal"]
expect:
name: "Dan neovisnosti"
name: "Dan sjećanja na žrtve Domovinskog rata i Dan sjećanja na žrtvu Vukovara i Škabrnje"
- given:
date: '2012-11-01'
regions: ["hr"]
options: ["informal"]
expect:
name: "Dan svih svetih"
name: "Svi sveti"
- given:
date: '2012-12-25'
regions: ["hr"]
Expand Down

0 comments on commit 96a1410

Please sign in to comment.