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

Update RO data #496

Merged
merged 2 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
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
25 changes: 19 additions & 6 deletions data/countries/RO.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,26 @@ holidays:
zones:
- Europe/Bucharest
days:
01-01:
_name: 01-01
01-01 P2DT:
name:
ro: Anul nou
en: New Year's Day
01-06:
name:
ro: Bobotează
en: Epiphany
01-07:
name:
ro: Sfântul Ion
en: Saint John the Baptist
01-24:
name:
ro: Ziua Unirii
en: Unification Day
ro: Ziua Unirii Principatelor Române
en: Day of the Unification of the Romanian Principalities
03-08:
name:
ro: Ziua Mamei
en: Mother's Day
type: observance
orthodox -2:
_name: easter -2
Expand All @@ -37,8 +48,10 @@ holidays:
_name: easter 49
orthodox 50:
_name: easter 50
1st sunday in May:
_name: Mothers Day
Sunday before 06-01:
name:
ro: Ziua Românilor de Pretutindeni, Ziua Românului de Pretutindeni
en: Day of the Romanians Everywhere, Romanian Businessperson Day
type: observance
06-01:
name:
Expand Down
42 changes: 30 additions & 12 deletions test/fixtures/RO-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,35 @@
{
"date": "2015-01-01 00:00:00",
"start": "2014-12-31T22:00:00.000Z",
"end": "2015-01-01T22:00:00.000Z",
"end": "2015-01-02T22:00:00.000Z",
"name": "Anul nou",
"type": "public",
"rule": "01-01",
"rule": "01-01 P2DT",
"_weekday": "Thu"
},
{
"date": "2015-01-06 00:00:00",
"start": "2015-01-05T22:00:00.000Z",
"end": "2015-01-06T22:00:00.000Z",
"name": "Bobotează",
"type": "public",
"rule": "01-06",
"_weekday": "Tue"
},
{
"date": "2015-01-07 00:00:00",
"start": "2015-01-06T22:00:00.000Z",
"end": "2015-01-07T22:00:00.000Z",
"name": "Sfântul Ion",
"type": "public",
"rule": "01-07",
"_weekday": "Wed"
},
{
"date": "2015-01-24 00:00:00",
"start": "2015-01-23T22:00:00.000Z",
"end": "2015-01-24T22:00:00.000Z",
"name": "Ziua Unirii",
"name": "Ziua Unirii Principatelor Române",
"type": "public",
"rule": "01-24",
"_weekday": "Sat"
Expand Down Expand Up @@ -62,15 +80,6 @@
"rule": "05-01",
"_weekday": "Fri"
},
{
"date": "2015-05-03 00:00:00",
"start": "2015-05-02T21:00:00.000Z",
"end": "2015-05-03T21:00:00.000Z",
"name": "Ziua Mamei",
"type": "observance",
"rule": "1st sunday in May",
"_weekday": "Sun"
},
{
"date": "2015-05-21 00:00:00",
"start": "2015-05-20T21:00:00.000Z",
Expand All @@ -89,6 +98,15 @@
"rule": "orthodox 49",
"_weekday": "Sun"
},
{
"date": "2015-05-31 00:00:00",
"start": "2015-05-30T21:00:00.000Z",
"end": "2015-05-31T21:00:00.000Z",
"name": "Ziua Românilor de Pretutindeni, Ziua Românului de Pretutindeni",
"type": "observance",
"rule": "Sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2015-06-01 00:00:00",
"start": "2015-05-31T21:00:00.000Z",
Expand Down
42 changes: 30 additions & 12 deletions test/fixtures/RO-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,35 @@
{
"date": "2016-01-01 00:00:00",
"start": "2015-12-31T22:00:00.000Z",
"end": "2016-01-01T22:00:00.000Z",
"end": "2016-01-02T22:00:00.000Z",
"name": "Anul nou",
"type": "public",
"rule": "01-01",
"rule": "01-01 P2DT",
"_weekday": "Fri"
},
{
"date": "2016-01-06 00:00:00",
"start": "2016-01-05T22:00:00.000Z",
"end": "2016-01-06T22:00:00.000Z",
"name": "Bobotează",
"type": "public",
"rule": "01-06",
"_weekday": "Wed"
},
{
"date": "2016-01-07 00:00:00",
"start": "2016-01-06T22:00:00.000Z",
"end": "2016-01-07T22:00:00.000Z",
"name": "Sfântul Ion",
"type": "public",
"rule": "01-07",
"_weekday": "Thu"
},
{
"date": "2016-01-24 00:00:00",
"start": "2016-01-23T22:00:00.000Z",
"end": "2016-01-24T22:00:00.000Z",
"name": "Ziua Unirii",
"name": "Ziua Unirii Principatelor Române",
"type": "public",
"rule": "01-24",
"_weekday": "Sun"
Expand Down Expand Up @@ -44,15 +62,6 @@
"rule": "orthodox",
"_weekday": "Sun"
},
{
"date": "2016-05-01 00:00:00",
"start": "2016-04-30T21:00:00.000Z",
"end": "2016-05-01T21:00:00.000Z",
"name": "Ziua Mamei",
"type": "observance",
"rule": "1st sunday in May",
"_weekday": "Sun"
},
{
"date": "2016-05-01 00:00:00",
"start": "2016-04-30T21:00:00.000Z",
Expand All @@ -71,6 +80,15 @@
"rule": "orthodox 1",
"_weekday": "Mon"
},
{
"date": "2016-05-29 00:00:00",
"start": "2016-05-28T21:00:00.000Z",
"end": "2016-05-29T21:00:00.000Z",
"name": "Ziua Românilor de Pretutindeni, Ziua Românului de Pretutindeni",
"type": "observance",
"rule": "Sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2016-06-01 00:00:00",
"start": "2016-05-31T21:00:00.000Z",
Expand Down
42 changes: 30 additions & 12 deletions test/fixtures/RO-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,35 @@
{
"date": "2017-01-01 00:00:00",
"start": "2016-12-31T22:00:00.000Z",
"end": "2017-01-01T22:00:00.000Z",
"end": "2017-01-02T22:00:00.000Z",
"name": "Anul nou",
"type": "public",
"rule": "01-01",
"rule": "01-01 P2DT",
"_weekday": "Sun"
},
{
"date": "2017-01-06 00:00:00",
"start": "2017-01-05T22:00:00.000Z",
"end": "2017-01-06T22:00:00.000Z",
"name": "Bobotează",
"type": "public",
"rule": "01-06",
"_weekday": "Fri"
},
{
"date": "2017-01-07 00:00:00",
"start": "2017-01-06T22:00:00.000Z",
"end": "2017-01-07T22:00:00.000Z",
"name": "Sfântul Ion",
"type": "public",
"rule": "01-07",
"_weekday": "Sat"
},
{
"date": "2017-01-24 00:00:00",
"start": "2017-01-23T22:00:00.000Z",
"end": "2017-01-24T22:00:00.000Z",
"name": "Ziua Unirii",
"name": "Ziua Unirii Principatelor Române",
"type": "public",
"rule": "01-24",
"_weekday": "Tue"
Expand Down Expand Up @@ -62,15 +80,6 @@
"rule": "05-01",
"_weekday": "Mon"
},
{
"date": "2017-05-07 00:00:00",
"start": "2017-05-06T21:00:00.000Z",
"end": "2017-05-07T21:00:00.000Z",
"name": "Ziua Mamei",
"type": "observance",
"rule": "1st sunday in May",
"_weekday": "Sun"
},
{
"date": "2017-05-25 00:00:00",
"start": "2017-05-24T21:00:00.000Z",
Expand All @@ -80,6 +89,15 @@
"rule": "orthodox 39",
"_weekday": "Thu"
},
{
"date": "2017-05-28 00:00:00",
"start": "2017-05-27T21:00:00.000Z",
"end": "2017-05-28T21:00:00.000Z",
"name": "Ziua Românilor de Pretutindeni, Ziua Românului de Pretutindeni",
"type": "observance",
"rule": "Sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2017-06-01 00:00:00",
"start": "2017-05-31T21:00:00.000Z",
Expand Down
42 changes: 30 additions & 12 deletions test/fixtures/RO-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,35 @@
{
"date": "2018-01-01 00:00:00",
"start": "2017-12-31T22:00:00.000Z",
"end": "2018-01-01T22:00:00.000Z",
"end": "2018-01-02T22:00:00.000Z",
"name": "Anul nou",
"type": "public",
"rule": "01-01",
"rule": "01-01 P2DT",
"_weekday": "Mon"
},
{
"date": "2018-01-06 00:00:00",
"start": "2018-01-05T22:00:00.000Z",
"end": "2018-01-06T22:00:00.000Z",
"name": "Bobotează",
"type": "public",
"rule": "01-06",
"_weekday": "Sat"
},
{
"date": "2018-01-07 00:00:00",
"start": "2018-01-06T22:00:00.000Z",
"end": "2018-01-07T22:00:00.000Z",
"name": "Sfântul Ion",
"type": "public",
"rule": "01-07",
"_weekday": "Sun"
},
{
"date": "2018-01-24 00:00:00",
"start": "2018-01-23T22:00:00.000Z",
"end": "2018-01-24T22:00:00.000Z",
"name": "Ziua Unirii",
"name": "Ziua Unirii Principatelor Române",
"type": "public",
"rule": "01-24",
"_weekday": "Wed"
Expand Down Expand Up @@ -62,15 +80,6 @@
"rule": "05-01",
"_weekday": "Tue"
},
{
"date": "2018-05-06 00:00:00",
"start": "2018-05-05T21:00:00.000Z",
"end": "2018-05-06T21:00:00.000Z",
"name": "Ziua Mamei",
"type": "observance",
"rule": "1st sunday in May",
"_weekday": "Sun"
},
{
"date": "2018-05-17 00:00:00",
"start": "2018-05-16T21:00:00.000Z",
Expand All @@ -89,6 +98,15 @@
"rule": "orthodox 49",
"_weekday": "Sun"
},
{
"date": "2018-05-27 00:00:00",
"start": "2018-05-26T21:00:00.000Z",
"end": "2018-05-27T21:00:00.000Z",
"name": "Ziua Românilor de Pretutindeni, Ziua Românului de Pretutindeni",
"type": "observance",
"rule": "Sunday before 06-01",
"_weekday": "Sun"
},
{
"date": "2018-05-28 00:00:00",
"start": "2018-05-27T21:00:00.000Z",
Expand Down
34 changes: 26 additions & 8 deletions test/fixtures/RO-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,35 @@
{
"date": "2019-01-01 00:00:00",
"start": "2018-12-31T22:00:00.000Z",
"end": "2019-01-01T22:00:00.000Z",
"end": "2019-01-02T22:00:00.000Z",
"name": "Anul nou",
"type": "public",
"rule": "01-01",
"rule": "01-01 P2DT",
"_weekday": "Tue"
},
{
"date": "2019-01-06 00:00:00",
"start": "2019-01-05T22:00:00.000Z",
"end": "2019-01-06T22:00:00.000Z",
"name": "Bobotează",
"type": "public",
"rule": "01-06",
"_weekday": "Sun"
},
{
"date": "2019-01-07 00:00:00",
"start": "2019-01-06T22:00:00.000Z",
"end": "2019-01-07T22:00:00.000Z",
"name": "Sfântul Ion",
"type": "public",
"rule": "01-07",
"_weekday": "Mon"
},
{
"date": "2019-01-24 00:00:00",
"start": "2019-01-23T22:00:00.000Z",
"end": "2019-01-24T22:00:00.000Z",
"name": "Ziua Unirii",
"name": "Ziua Unirii Principatelor Române",
"type": "public",
"rule": "01-24",
"_weekday": "Thu"
Expand Down Expand Up @@ -63,12 +81,12 @@
"_weekday": "Wed"
},
{
"date": "2019-05-05 00:00:00",
"start": "2019-05-04T21:00:00.000Z",
"end": "2019-05-05T21:00:00.000Z",
"name": "Ziua Mamei",
"date": "2019-05-26 00:00:00",
"start": "2019-05-25T21:00:00.000Z",
"end": "2019-05-26T21:00:00.000Z",
"name": "Ziua Românilor de Pretutindeni, Ziua Românului de Pretutindeni",
"type": "observance",
"rule": "1st sunday in May",
"rule": "Sunday before 06-01",
"_weekday": "Sun"
},
{
Expand Down
Loading
Loading