Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use correct country code gr for Greece #273

Merged
merged 1 commit into from
May 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions el.yaml → gr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,147 +12,147 @@
months:
0:
- name: Μεγάλη Παρασκευή
regions: [el]
regions: [gr]
function: orthodox_easter(year)
function_modifier: -2
- name: Μεγάλο Σάββατο
regions: [el]
regions: [gr]
function: orthodox_easter(year)
function_modifier: -1
- name: Κυριακή του Πάσχα
regions: [el]
regions: [gr]
function: orthodox_easter(year)
- name: Δευτέρα του Πάσχα
regions: [el]
regions: [gr]
function: orthodox_easter(year)
function_modifier: 1
- name: Καθαρά Δευτέρα
regions: [el]
regions: [gr]
function: orthodox_easter(year)
function_modifier: -48
- name: Αγίου Πνεύματος
regions: [el]
regions: [gr]
function: orthodox_easter(year)
function_modifier: 50
1:
- name: Πρωτοχρονιά
regions: [el]
regions: [gr]
mday: 1
- name: Θεοφάνεια
regions: [el]
regions: [gr]
mday: 6
3:
- name: Επέτειος της Επανάστασης του 1821
regions: [el]
regions: [gr]
mday: 25
5:
- name: Πρωτομαγιά
regions: [el]
regions: [gr]
mday: 1
8:
- name: Κοίμηση της Θεοτόκου
regions: [el]
regions: [gr]
mday: 15
10:
- name: Επέτειος του Όχι
regions: [el]
regions: [gr]
mday: 28
12:
- name: Χριστούγεννα
regions: [el]
regions: [gr]
mday: 25
- name: Δεύτερη ημέρα των Χριστουγέννων
regions: [el]
regions: [gr]
mday: 26

tests:
- given:
date: '2011-01-01'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Πρωτοχρονιά"
- given:
date: '2011-01-06'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Θεοφάνεια"
- given:
date: '2011-04-22'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Μεγάλη Παρασκευή"
- given:
date: '1970-04-25'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Μεγάλο Σάββατο"
- given:
date: '1985-04-14'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Κυριακή του Πάσχα"
- given:
date: '2011-04-24'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Κυριακή του Πάσχα"
- given:
date: '2027-05-02'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Κυριακή του Πάσχα"
- given:
date: '2046-04-30'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Δευτέρα του Πάσχα"
- given:
date: '2011-05-01'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Πρωτομαγιά"
- given:
date: '2011-06-13'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Αγίου Πνεύματος"
- given:
date: '2012-06-04'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Αγίου Πνεύματος"
- given:
date: '2011-03-07'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Καθαρά Δευτέρα"
- given:
date: '2012-02-27'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Καθαρά Δευτέρα"
- given:
date: '2011-12-25'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Χριστούγεννα"
- given:
date: '2011-12-26'
regions: ["el"]
regions: ["gr"]
options: ["informal"]
expect:
name: "Δεύτερη ημέρα των Χριστουγέννων"
Loading