Skip to content

Commit

Permalink
Merge pull request #61 from saygun/update-turkey-holidays
Browse files Browse the repository at this point in the history
Add July 15
  • Loading branch information
ppeble authored Jul 28, 2017
2 parents aac7cae + 3f2a55c commit d756a18
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# - https://de.wikipedia.org/wiki/Islamisches_Opferfest#Opferfest-Termine
# - https://translate.yandex.com/?lang=en-tr
# - https://de.wikibooks.org/wiki/Türkisch:_Zahlen
# - https://en.wikipedia.org/wiki/Democracy_and_National_Unity_Day
---
months:
0:
Expand Down Expand Up @@ -58,6 +59,12 @@ months:
- name: Atatürk'ü Anma Gençlik ve Spor Bayramı # Commemoration of Atatürk, Youth and Sports Day
regions: [tr]
mday: 19
7:
- name: Demokrasi ve Milli Birlik Günü # Democracy and National Unity Day
regions: [tr]
mday: 15
year_ranges:
- after: 2016
8:
- name: Zafer Bayramı # Victory Day
regions: [tr]
Expand Down Expand Up @@ -92,7 +99,6 @@ methods:
'2019' => Date.civil(2019, 8, 11)
}
begin_of_sacrifice_feast[year.to_s]
tests:
- given:
date: '2017-1-1'
Expand Down Expand Up @@ -139,6 +145,11 @@ tests:
regions: ["tr"]
expect:
name: "Ramazan Bayramı (üçüncü tatil)"
- given:
date: '2017-7-15'
regions: ["tr"]
expect:
name: "Demokrasi ve Milli Birlik Günü"
- given:
date: ['2017-9-1', '2018-8-21', '2019-8-11']
regions: ["tr"]
Expand Down

0 comments on commit d756a18

Please sign in to comment.