From c3be5125aa3ebdfd23ac22fc5142acb5c766d420 Mon Sep 17 00:00:00 2001
From: PPsyrius <19505219+PPsyrius@users.noreply.github.com>
Date: Wed, 30 Oct 2024 13:47:15 +0700
Subject: [PATCH 1/7] Update Philippines holidays: add `en_PH`, `en_US`, `th`,
`tl` localization
---
README.rst | 2 +-
holidays/countries/philippines.py | 88 +++---
holidays/locale/en_PH/LC_MESSAGES/PH.po | 116 +++++++
holidays/locale/en_US/LC_MESSAGES/PH.po | 116 +++++++
holidays/locale/th/LC_MESSAGES/PH.po | 116 +++++++
holidays/locale/tl/LC_MESSAGES/PH.po | 117 +++++++
snapshots/countries/PH_COMMON.json | 390 ++++++++++++------------
tests/countries/test_philippines.py | 276 ++++++++++++++---
8 files changed, 940 insertions(+), 281 deletions(-)
create mode 100644 holidays/locale/en_PH/LC_MESSAGES/PH.po
create mode 100644 holidays/locale/en_US/LC_MESSAGES/PH.po
create mode 100644 holidays/locale/th/LC_MESSAGES/PH.po
create mode 100644 holidays/locale/tl/LC_MESSAGES/PH.po
diff --git a/README.rst b/README.rst
index 9a04d173c..3a1d55f9a 100644
--- a/README.rst
+++ b/README.rst
@@ -748,7 +748,7 @@ All other default values are highlighted with bold:
* - Philippines
- PH
-
- -
+ - **en_PH**, en_US, th, tl
-
* - Poland
- PL
diff --git a/holidays/countries/philippines.py b/holidays/countries/philippines.py
index b43401635..88007baee 100644
--- a/holidays/countries/philippines.py
+++ b/holidays/countries/philippines.py
@@ -10,6 +10,8 @@
# Website: https://github.com/vacanza/holidays
# License: MIT (see LICENSE file)
+from gettext import gettext as tr
+
from holidays.calendars import _CustomChineseHolidays, _CustomIslamicHolidays
from holidays.calendars.gregorian import JAN, FEB, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC
from holidays.groups import (
@@ -37,6 +39,7 @@ class Philippines(
- https://en.wikipedia.org/wiki/Public_holidays_in_the_Philippines
- `Revised Administrative Code of 1987 `_
- `Republic Act No. 9177 `_
+ - `Republic Act No. 9256 `_
- `Republic Act No. 9492 `_
- `Republic Act No. 9849 `_
- `Republic Act No. 10966 `_
@@ -44,6 +47,10 @@ class Philippines(
"""
country = "PH"
+ default_language = "en_PH"
+ # %s (estimated).
+ estimated_label = tr("%s (estimated)")
+ supported_languages = ("en_PH", "en_US", "th", "tl")
def __init__(self, *args, **kwargs):
ChineseCalendarHolidays.__init__(self, cls=PhilippinesChineseHolidays)
@@ -58,98 +65,100 @@ def _populate_public_holidays(self):
return None
# New Year's Day.
- self._add_new_years_day("New Year's Day")
+ self._add_new_years_day(tr("New Year's Day"))
- # Chinese New Year.
if self._year >= 2012 and self._year != 2023:
- self._add_chinese_new_years_day("Chinese New Year")
+ # Chinese New Year.
+ self._add_chinese_new_years_day(tr("Chinese New Year"))
- # EDSA People Power Revolution Anniversary.
if self._year >= 2016 and self._year not in {2017, 2024}:
dates_obs = {
2023: (FEB, 24),
}
self._add_holiday(
- "EDSA People Power Revolution Anniversary", dates_obs.get(self._year, (FEB, 25))
+ # EDSA People Power Revolution Anniversary.
+ tr("EDSA People Power Revolution Anniversary"),
+ dates_obs.get(self._year, (FEB, 25)),
)
# Maundy Thursday.
- self._add_holy_thursday("Maundy Thursday")
+ self._add_holy_thursday(tr("Maundy Thursday"))
# Good Friday.
- self._add_good_friday("Good Friday")
+ self._add_good_friday(tr("Good Friday"))
- # Black Saturday.
if self._year >= 2013:
- self._add_holy_saturday("Black Saturday")
+ # Black Saturday.
+ self._add_holy_saturday(tr("Black Saturday"))
- # Day of Valor.
dates_obs = {
2008: (APR, 7),
2009: (APR, 6),
}
- self._add_holiday("Araw ng Kagitingan (Day of Valor)", dates_obs.get(self._year, (APR, 9)))
+ # Day of Valor.
+ self._add_holiday(tr("Araw ng Kagitingan"), dates_obs.get(self._year, (APR, 9)))
# Labor Day.
- self._add_labor_day("Labor Day")
+ self._add_labor_day(tr("Labor Day"))
- # Independence Day.
dates_obs = {
2007: (JUN, 11),
2008: (JUN, 9),
2010: (JUN, 14),
}
- self._add_holiday("Independence Day", dates_obs.get(self._year, (JUN, 12)))
+ # Independence Day.
+ self._add_holiday(tr("Independence Day"), dates_obs.get(self._year, (JUN, 12)))
- # Ninoy Aquino Day.
- dates_obs = {
- 2007: (AUG, 20),
- 2008: (AUG, 18),
- 2010: (AUG, 23),
- }
- self._add_holiday("Ninoy Aquino Day", dates_obs.get(self._year, (AUG, 21)))
+ if self._year >= 2004:
+ dates_obs = {
+ 2007: (AUG, 20),
+ 2008: (AUG, 18),
+ 2010: (AUG, 23),
+ }
+ # Ninoy Aquino Day.
+ self._add_holiday(tr("Ninoy Aquino Day"), dates_obs.get(self._year, (AUG, 21)))
# National Heroes Day.
- name = "National Heroes Day"
+ name = tr("National Heroes Day")
if self._year >= 2007:
self._add_holiday_last_mon_of_aug(name)
else:
self._add_holiday_last_sun_of_aug(name)
# All Saints' Day.
- self._add_all_saints_day("All Saints' Day")
+ self._add_all_saints_day(tr("All Saints' Day"))
- # Bonifacio Day.
dates_obs = {
2008: (DEC, 1),
2010: (NOV, 29),
}
- self._add_holiday("Bonifacio Day", dates_obs.get(self._year, (NOV, 30)))
+ # Bonifacio Day.
+ self._add_holiday(tr("Bonifacio Day"), dates_obs.get(self._year, (NOV, 30)))
- # Immaculate Conception.
if self._year >= 2019:
- self._add_immaculate_conception_day("Feast of the Immaculate Conception of Mary")
+ # Immaculate Conception.
+ self._add_immaculate_conception_day(tr("Feast of the Immaculate Conception of Mary"))
# Christmas Day.
- self._add_christmas_day("Christmas Day")
+ self._add_christmas_day(tr("Christmas Day"))
- # Rizal Day.
dates_obs = {
2010: (DEC, 27),
}
- self._add_holiday("Rizal Day", dates_obs.get(self._year, (DEC, 30)))
+ # Rizal Day.
+ self._add_holiday(tr("Rizal Day"), dates_obs.get(self._year, (DEC, 30)))
- # Last Day of the Year.
if self._year not in {2021, 2022}:
- self._add_new_years_eve("Last Day of the Year")
+ # Last Day of the Year.
+ self._add_new_years_eve(tr("Last Day of the Year"))
- # Eid al-Fitr.
if self._year >= 2002:
- self._add_eid_al_fitr_day("Eid'l Fitr (Feast of Ramadhan)")
+ # Eid al-Fitr.
+ self._add_eid_al_fitr_day(tr("Eid'l Fitr"))
- # Eid al-Adha.
if self._year >= 2010:
- self._add_eid_al_adha_day("Eid'l Adha (Feast of Sacrifice)")
+ # Eid al-Adha.
+ self._add_eid_al_adha_day(tr("Eid'l Adha"))
class PH(Philippines):
@@ -225,8 +234,11 @@ class PhilippinesIslamicHolidays(_CustomIslamicHolidays):
class PhilippinesStaticHolidays:
- additional_special = "Additional special (non-working) day"
- election_special = "Elections special (non-working) day"
+ # Additional special (non-working) day.
+ additional_special = tr("Additional special (non-working) day")
+
+ # Elections special (non-working) day.
+ election_special = tr("Elections special (non-working) day")
special_public_holidays = {
2008: (
diff --git a/holidays/locale/en_PH/LC_MESSAGES/PH.po b/holidays/locale/en_PH/LC_MESSAGES/PH.po
new file mode 100644
index 000000000..fd656d574
--- /dev/null
+++ b/holidays/locale/en_PH/LC_MESSAGES/PH.po
@@ -0,0 +1,116 @@
+# holidays
+# --------
+# A fast, efficient Python library for generating country, province and state
+# specific sets of holidays on the fly. It aims to make determining whether a
+# specific date is a holiday as fast and flexible as possible.
+#
+# Authors: Vacanza Team and individual contributors (see AUTHORS file)
+# dr-prodigy (c) 2017-2023
+# ryanss (c) 2014-2017
+# Website: https://github.com/vacanza/holidays
+# License: MIT (see LICENSE file)
+#
+# The Philippines holidays.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Holidays 0.60\n"
+"POT-Creation-Date: 2024-10-30 02:45+0700\n"
+"PO-Revision-Date: 2024-10-30 11:21+0700\n"
+"Last-Translator: PPsyrius \n"
+"Language-Team: Holidays localization team\n"
+"Language: en_PH\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Lingva 5.0.3\n"
+"X-Generator: Poedit 3.5\n"
+
+#. New Year's Day.
+msgid "New Year's Day"
+msgstr ""
+
+#. Chinese New Year.
+msgid "Chinese New Year"
+msgstr ""
+
+#. EDSA People Power Revolution Anniversary.
+msgid "EDSA People Power Revolution Anniversary"
+msgstr ""
+
+#. Maundy Thursday.
+msgid "Maundy Thursday"
+msgstr ""
+
+#. Good Friday.
+msgid "Good Friday"
+msgstr ""
+
+#. Black Saturday.
+msgid "Black Saturday"
+msgstr ""
+
+#. Day of Valor.
+msgid "Araw ng Kagitingan"
+msgstr ""
+
+#. Labor Day.
+msgid "Labor Day"
+msgstr ""
+
+#. Independence Day.
+msgid "Independence Day"
+msgstr ""
+
+#. Ninoy Aquino Day.
+msgid "Ninoy Aquino Day"
+msgstr ""
+
+#. National Heroes Day.
+msgid "National Heroes Day"
+msgstr ""
+
+#. All Saints' Day.
+msgid "All Saints' Day"
+msgstr ""
+
+#. Bonifacio Day.
+msgid "Bonifacio Day"
+msgstr ""
+
+#. Immaculate Conception.
+msgid "Feast of the Immaculate Conception of Mary"
+msgstr ""
+
+#. Christmas Day.
+msgid "Christmas Day"
+msgstr ""
+
+#. Rizal Day.
+msgid "Rizal Day"
+msgstr ""
+
+#. Last Day of the Year.
+msgid "Last Day of the Year"
+msgstr ""
+
+#. Eid al-Fitr.
+msgid "Eid'l Fitr"
+msgstr ""
+
+#. Eid al-Adha.
+msgid "Eid'l Adha"
+msgstr ""
+
+#. Additional special (non-working) day.
+msgid "Additional special (non-working) day"
+msgstr ""
+
+#. Elections special (non-working) day.
+msgid "Elections special (non-working) day"
+msgstr ""
+
+#. %s (estimated).
+#, c-format
+msgid "%s (estimated)"
+msgstr ""
diff --git a/holidays/locale/en_US/LC_MESSAGES/PH.po b/holidays/locale/en_US/LC_MESSAGES/PH.po
new file mode 100644
index 000000000..ceea50a27
--- /dev/null
+++ b/holidays/locale/en_US/LC_MESSAGES/PH.po
@@ -0,0 +1,116 @@
+# holidays
+# --------
+# A fast, efficient Python library for generating country, province and state
+# specific sets of holidays on the fly. It aims to make determining whether a
+# specific date is a holiday as fast and flexible as possible.
+#
+# Authors: Vacanza Team and individual contributors (see AUTHORS file)
+# dr-prodigy (c) 2017-2023
+# ryanss (c) 2014-2017
+# Website: https://github.com/vacanza/holidays
+# License: MIT (see LICENSE file)
+#
+# The Philippines holidays en_US localization.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Holidays 0.60\n"
+"POT-Creation-Date: 2024-10-30 02:45+0700\n"
+"PO-Revision-Date: 2024-10-30 11:21+0700\n"
+"Last-Translator: PPsyrius \n"
+"Language-Team: Holidays Localization Team\n"
+"Language: tl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Lingva 5.0.3\n"
+"X-Generator: Poedit 3.5\n"
+
+#. New Year's Day.
+msgid "New Year's Day"
+msgstr "New Year's Day"
+
+#. Chinese New Year.
+msgid "Chinese New Year"
+msgstr "Chinese New Year"
+
+#. EDSA People Power Revolution Anniversary.
+msgid "EDSA People Power Revolution Anniversary"
+msgstr "EDSA People Power Revolution Anniversary"
+
+#. Maundy Thursday.
+msgid "Maundy Thursday"
+msgstr "Maundy Thursday"
+
+#. Good Friday.
+msgid "Good Friday"
+msgstr "Good Friday"
+
+#. Black Saturday.
+msgid "Black Saturday"
+msgstr "Black Saturday"
+
+#. Day of Valor.
+msgid "Araw ng Kagitingan"
+msgstr "Day of Valor"
+
+#. Labor Day.
+msgid "Labor Day"
+msgstr "Labor Day"
+
+#. Independence Day.
+msgid "Independence Day"
+msgstr "Independence Day"
+
+#. Ninoy Aquino Day.
+msgid "Ninoy Aquino Day"
+msgstr "Ninoy Aquino Day"
+
+#. National Heroes Day.
+msgid "National Heroes Day"
+msgstr "National Heroes Day"
+
+#. All Saints' Day.
+msgid "All Saints' Day"
+msgstr "All Saints' Day"
+
+#. Bonifacio Day.
+msgid "Bonifacio Day"
+msgstr "Bonifacio Day"
+
+#. Immaculate Conception.
+msgid "Feast of the Immaculate Conception of Mary"
+msgstr "Immaculate Conception"
+
+#. Christmas Day.
+msgid "Christmas Day"
+msgstr "Christmas Day"
+
+#. Rizal Day.
+msgid "Rizal Day"
+msgstr "Rizal Day"
+
+#. Last Day of the Year.
+msgid "Last Day of the Year"
+msgstr "Last Day of the Year"
+
+#. Eid al-Fitr.
+msgid "Eid'l Fitr"
+msgstr "Eid al-Fitr"
+
+#. Eid al-Adha.
+msgid "Eid'l Adha"
+msgstr "Eid al-Adha"
+
+#. Additional special (non-working) day.
+msgid "Additional special (non-working) day"
+msgstr "Additional special (non-working) day"
+
+#. Elections special (non-working) day.
+msgid "Elections special (non-working) day"
+msgstr "Elections special (non-working) day"
+
+#. %s (estimated).
+#, c-format
+msgid "%s (estimated)"
+msgstr "%s (estimated)"
diff --git a/holidays/locale/th/LC_MESSAGES/PH.po b/holidays/locale/th/LC_MESSAGES/PH.po
new file mode 100644
index 000000000..b0a1cc525
--- /dev/null
+++ b/holidays/locale/th/LC_MESSAGES/PH.po
@@ -0,0 +1,116 @@
+# holidays
+# --------
+# A fast, efficient Python library for generating country, province and state
+# specific sets of holidays on the fly. It aims to make determining whether a
+# specific date is a holiday as fast and flexible as possible.
+#
+# Authors: Vacanza Team and individual contributors (see AUTHORS file)
+# dr-prodigy (c) 2017-2023
+# ryanss (c) 2014-2017
+# Website: https://github.com/vacanza/holidays
+# License: MIT (see LICENSE file)
+#
+# The Philippines holidays th localization.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Holidays 0.60\n"
+"POT-Creation-Date: 2024-10-30 02:45+0700\n"
+"PO-Revision-Date: 2024-10-30 11:21+0700\n"
+"Last-Translator: PPsyrius \n"
+"Language-Team: Holidays Localization Team\n"
+"Language: th\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Lingva 5.0.3\n"
+"X-Generator: Poedit 3.5\n"
+
+#. New Year's Day.
+msgid "New Year's Day"
+msgstr "วันขึ้นปีใหม่"
+
+#. Chinese New Year.
+msgid "Chinese New Year"
+msgstr "วันตรุษจีน"
+
+#. EDSA People Power Revolution Anniversary.
+msgid "EDSA People Power Revolution Anniversary"
+msgstr "วันครบรอบการปฏิวัติพลังประชาชนเอ็ดซา"
+
+#. Maundy Thursday.
+msgid "Maundy Thursday"
+msgstr "วันพฤหัสบดีศักดิ์สิทธิ์"
+
+#. Good Friday.
+msgid "Good Friday"
+msgstr "วันศุกร์ประเสริฐ"
+
+#. Black Saturday.
+msgid "Black Saturday"
+msgstr "วันเสาร์ศักดิ์สิทธิ์"
+
+#. Day of Valor.
+msgid "Araw ng Kagitingan"
+msgstr "วันแห่งความกล้าหาญ"
+
+#. Labor Day.
+msgid "Labor Day"
+msgstr "วันแรงงาน"
+
+#. Independence Day.
+msgid "Independence Day"
+msgstr "วันประกาศเอกราชสาธารณรัฐฟิลิปปินส์"
+
+#. Ninoy Aquino Day.
+msgid "Ninoy Aquino Day"
+msgstr "วันนินอย อากีโน"
+
+#. National Heroes Day.
+msgid "National Heroes Day"
+msgstr "วันวีรบุรุษแห่งชาติ"
+
+#. All Saints' Day.
+msgid "All Saints' Day"
+msgstr "วันสมโภชนักบุญทั้งหลาย"
+
+#. Bonifacio Day.
+msgid "Bonifacio Day"
+msgstr "วันโบนีฟาซีโอ"
+
+#. Immaculate Conception.
+msgid "Feast of the Immaculate Conception of Mary"
+msgstr "วันสมโภชแม่พระผู้ปฏิสนธินิรมล"
+
+#. Christmas Day.
+msgid "Christmas Day"
+msgstr "วันคริสต์มาส"
+
+#. Rizal Day.
+msgid "Rizal Day"
+msgstr "วันรีซัล"
+
+#. Last Day of the Year.
+msgid "Last Day of the Year"
+msgstr "วันสิ้นปี"
+
+#. Eid al-Fitr.
+msgid "Eid'l Fitr"
+msgstr "วันอีฎิ้ลฟิตริ"
+
+#. Eid al-Adha.
+msgid "Eid'l Adha"
+msgstr "วันอีดิ้ลอัฎฮา"
+
+#. Additional special (non-working) day.
+msgid "Additional special (non-working) day"
+msgstr "วันหยุดพิเศษ (เพิ่มเติม)"
+
+#. Elections special (non-working) day.
+msgid "Elections special (non-working) day"
+msgstr "วันหยุดพิเศษ (เลือกตั้ง)"
+
+#. %s (estimated).
+#, c-format
+msgid "%s (estimated)"
+msgstr "%s (โดยประมาณ)"
diff --git a/holidays/locale/tl/LC_MESSAGES/PH.po b/holidays/locale/tl/LC_MESSAGES/PH.po
new file mode 100644
index 000000000..bc6246836
--- /dev/null
+++ b/holidays/locale/tl/LC_MESSAGES/PH.po
@@ -0,0 +1,117 @@
+# holidays
+# --------
+# A fast, efficient Python library for generating country, province and state
+# specific sets of holidays on the fly. It aims to make determining whether a
+# specific date is a holiday as fast and flexible as possible.
+#
+# Authors: Vacanza Team and individual contributors (see AUTHORS file)
+# dr-prodigy (c) 2017-2023
+# ryanss (c) 2014-2017
+# Website: https://github.com/vacanza/holidays
+# License: MIT (see LICENSE file)
+#
+# The Philippines holidays tl localization.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Holidays 0.60\n"
+"POT-Creation-Date: 2024-10-30 02:45+0700\n"
+"PO-Revision-Date: 2024-10-30 11:21+0700\n"
+"Last-Translator: PPsyrius \n"
+"Language-Team: Holidays Localization Team\n"
+"Language: tl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Lingva 5.0.3\n"
+"X-Generator: Poedit 3.5\n"
+
+#. New Year's Day.
+msgid "New Year's Day"
+msgstr "Bagong Taon"
+
+#. Chinese New Year.
+msgid "Chinese New Year"
+msgstr "Bagong Taon ng mga Tsino"
+
+#. EDSA People Power Revolution Anniversary.
+msgid "EDSA People Power Revolution Anniversary"
+msgstr "Anibersaryo ng Rebolusyon sa EDSA"
+
+#. Maundy Thursday.
+msgid "Maundy Thursday"
+msgstr "Huwebes Santo"
+
+#. Good Friday.
+msgid "Good Friday"
+msgstr "Biyernes Santo"
+
+#. Black Saturday.
+msgid "Black Saturday"
+msgstr "Sabado de Gloria"
+
+#. Day of Valor.
+msgid "Araw ng Kagitingan"
+msgstr "Araw ng Kagitingan"
+
+#. Labor Day.
+msgid "Labor Day"
+msgstr "Araw ng Paggawa"
+
+#. Independence Day.
+msgid "Independence Day"
+msgstr "Araw ng Kalayaan"
+
+#. Ninoy Aquino Day.
+msgid "Ninoy Aquino Day"
+msgstr "Araw ng Kabayanihan ni Ninoy Aquino"
+
+#. National Heroes Day.
+msgid "National Heroes Day"
+msgstr "Araw ng mga Bayani"
+
+#. All Saints' Day.
+msgid "All Saints' Day"
+msgstr "Araw ng mga Santo"
+
+#. Bonifacio Day.
+msgid "Bonifacio Day"
+msgstr "Araw ng Kabayanihan ni Bonifacio"
+
+#. Immaculate Conception.
+msgid "Feast of the Immaculate Conception of Mary"
+msgstr ""
+"Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria"
+
+#. Christmas Day.
+msgid "Christmas Day"
+msgstr "Pasko"
+
+#. Rizal Day.
+msgid "Rizal Day"
+msgstr "Araw ng Kabayanihan ni Rizal"
+
+#. Last Day of the Year.
+msgid "Last Day of the Year"
+msgstr "Bisperas ng Bagong Taon"
+
+#. Eid al-Fitr.
+msgid "Eid'l Fitr"
+msgstr "Eid al-Fitr"
+
+#. Eid al-Adha.
+msgid "Eid'l Adha"
+msgstr "Eid al-Adha"
+
+#. Additional special (non-working) day.
+msgid "Additional special (non-working) day"
+msgstr "Karagdagang espesyal (non-working) day"
+
+#. Elections special (non-working) day.
+msgid "Elections special (non-working) day"
+msgstr "Halalan espesyal (non-working) day"
+
+#. %s (estimated).
+#, c-format
+msgid "%s (estimated)"
+msgstr "%s (tinatayang)"
diff --git a/snapshots/countries/PH_COMMON.json b/snapshots/countries/PH_COMMON.json
index fa383363d..5668ea1e1 100644
--- a/snapshots/countries/PH_COMMON.json
+++ b/snapshots/countries/PH_COMMON.json
@@ -2,10 +2,9 @@
"1988-01-01": "New Year's Day",
"1988-03-31": "Maundy Thursday",
"1988-04-01": "Good Friday",
- "1988-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1988-04-09": "Day of Valor",
"1988-05-01": "Labor Day",
"1988-06-12": "Independence Day",
- "1988-08-21": "Ninoy Aquino Day",
"1988-08-28": "National Heroes Day",
"1988-11-01": "All Saints' Day",
"1988-11-30": "Bonifacio Day",
@@ -15,10 +14,9 @@
"1989-01-01": "New Year's Day",
"1989-03-23": "Maundy Thursday",
"1989-03-24": "Good Friday",
- "1989-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1989-04-09": "Day of Valor",
"1989-05-01": "Labor Day",
"1989-06-12": "Independence Day",
- "1989-08-21": "Ninoy Aquino Day",
"1989-08-27": "National Heroes Day",
"1989-11-01": "All Saints' Day",
"1989-11-30": "Bonifacio Day",
@@ -26,12 +24,11 @@
"1989-12-30": "Rizal Day",
"1989-12-31": "Last Day of the Year",
"1990-01-01": "New Year's Day",
- "1990-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1990-04-09": "Day of Valor",
"1990-04-12": "Maundy Thursday",
"1990-04-13": "Good Friday",
"1990-05-01": "Labor Day",
"1990-06-12": "Independence Day",
- "1990-08-21": "Ninoy Aquino Day",
"1990-08-26": "National Heroes Day",
"1990-11-01": "All Saints' Day",
"1990-11-30": "Bonifacio Day",
@@ -41,10 +38,9 @@
"1991-01-01": "New Year's Day",
"1991-03-28": "Maundy Thursday",
"1991-03-29": "Good Friday",
- "1991-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1991-04-09": "Day of Valor",
"1991-05-01": "Labor Day",
"1991-06-12": "Independence Day",
- "1991-08-21": "Ninoy Aquino Day",
"1991-08-25": "National Heroes Day",
"1991-11-01": "All Saints' Day",
"1991-11-30": "Bonifacio Day",
@@ -52,12 +48,11 @@
"1991-12-30": "Rizal Day",
"1991-12-31": "Last Day of the Year",
"1992-01-01": "New Year's Day",
- "1992-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1992-04-09": "Day of Valor",
"1992-04-16": "Maundy Thursday",
"1992-04-17": "Good Friday",
"1992-05-01": "Labor Day",
"1992-06-12": "Independence Day",
- "1992-08-21": "Ninoy Aquino Day",
"1992-08-30": "National Heroes Day",
"1992-11-01": "All Saints' Day",
"1992-11-30": "Bonifacio Day",
@@ -66,10 +61,9 @@
"1992-12-31": "Last Day of the Year",
"1993-01-01": "New Year's Day",
"1993-04-08": "Maundy Thursday",
- "1993-04-09": "Araw ng Kagitingan (Day of Valor); Good Friday",
+ "1993-04-09": "Day of Valor; Good Friday",
"1993-05-01": "Labor Day",
"1993-06-12": "Independence Day",
- "1993-08-21": "Ninoy Aquino Day",
"1993-08-29": "National Heroes Day",
"1993-11-01": "All Saints' Day",
"1993-11-30": "Bonifacio Day",
@@ -79,10 +73,9 @@
"1994-01-01": "New Year's Day",
"1994-03-31": "Maundy Thursday",
"1994-04-01": "Good Friday",
- "1994-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1994-04-09": "Day of Valor",
"1994-05-01": "Labor Day",
"1994-06-12": "Independence Day",
- "1994-08-21": "Ninoy Aquino Day",
"1994-08-28": "National Heroes Day",
"1994-11-01": "All Saints' Day",
"1994-11-30": "Bonifacio Day",
@@ -90,12 +83,11 @@
"1994-12-30": "Rizal Day",
"1994-12-31": "Last Day of the Year",
"1995-01-01": "New Year's Day",
- "1995-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1995-04-09": "Day of Valor",
"1995-04-13": "Maundy Thursday",
"1995-04-14": "Good Friday",
"1995-05-01": "Labor Day",
"1995-06-12": "Independence Day",
- "1995-08-21": "Ninoy Aquino Day",
"1995-08-27": "National Heroes Day",
"1995-11-01": "All Saints' Day",
"1995-11-30": "Bonifacio Day",
@@ -105,10 +97,9 @@
"1996-01-01": "New Year's Day",
"1996-04-04": "Maundy Thursday",
"1996-04-05": "Good Friday",
- "1996-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1996-04-09": "Day of Valor",
"1996-05-01": "Labor Day",
"1996-06-12": "Independence Day",
- "1996-08-21": "Ninoy Aquino Day",
"1996-08-25": "National Heroes Day",
"1996-11-01": "All Saints' Day",
"1996-11-30": "Bonifacio Day",
@@ -118,10 +109,9 @@
"1997-01-01": "New Year's Day",
"1997-03-27": "Maundy Thursday",
"1997-03-28": "Good Friday",
- "1997-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1997-04-09": "Day of Valor",
"1997-05-01": "Labor Day",
"1997-06-12": "Independence Day",
- "1997-08-21": "Ninoy Aquino Day",
"1997-08-31": "National Heroes Day",
"1997-11-01": "All Saints' Day",
"1997-11-30": "Bonifacio Day",
@@ -129,11 +119,10 @@
"1997-12-30": "Rizal Day",
"1997-12-31": "Last Day of the Year",
"1998-01-01": "New Year's Day",
- "1998-04-09": "Araw ng Kagitingan (Day of Valor); Maundy Thursday",
+ "1998-04-09": "Day of Valor; Maundy Thursday",
"1998-04-10": "Good Friday",
"1998-05-01": "Labor Day",
"1998-06-12": "Independence Day",
- "1998-08-21": "Ninoy Aquino Day",
"1998-08-30": "National Heroes Day",
"1998-11-01": "All Saints' Day",
"1998-11-30": "Bonifacio Day",
@@ -143,10 +132,9 @@
"1999-01-01": "New Year's Day",
"1999-04-01": "Maundy Thursday",
"1999-04-02": "Good Friday",
- "1999-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "1999-04-09": "Day of Valor",
"1999-05-01": "Labor Day",
"1999-06-12": "Independence Day",
- "1999-08-21": "Ninoy Aquino Day",
"1999-08-29": "National Heroes Day",
"1999-11-01": "All Saints' Day",
"1999-11-30": "Bonifacio Day",
@@ -154,12 +142,11 @@
"1999-12-30": "Rizal Day",
"1999-12-31": "Last Day of the Year",
"2000-01-01": "New Year's Day",
- "2000-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2000-04-09": "Day of Valor",
"2000-04-20": "Maundy Thursday",
"2000-04-21": "Good Friday",
"2000-05-01": "Labor Day",
"2000-06-12": "Independence Day",
- "2000-08-21": "Ninoy Aquino Day",
"2000-08-27": "National Heroes Day",
"2000-11-01": "All Saints' Day",
"2000-11-30": "Bonifacio Day",
@@ -167,12 +154,11 @@
"2000-12-30": "Rizal Day",
"2000-12-31": "Last Day of the Year",
"2001-01-01": "New Year's Day",
- "2001-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2001-04-09": "Day of Valor",
"2001-04-12": "Maundy Thursday",
"2001-04-13": "Good Friday",
"2001-05-01": "Labor Day",
"2001-06-12": "Independence Day",
- "2001-08-21": "Ninoy Aquino Day",
"2001-08-26": "National Heroes Day",
"2001-11-01": "All Saints' Day",
"2001-11-30": "Bonifacio Day",
@@ -182,40 +168,38 @@
"2002-01-01": "New Year's Day",
"2002-03-28": "Maundy Thursday",
"2002-03-29": "Good Friday",
- "2002-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2002-04-09": "Day of Valor",
"2002-05-01": "Labor Day",
"2002-06-12": "Independence Day",
- "2002-08-21": "Ninoy Aquino Day",
"2002-08-25": "National Heroes Day",
"2002-11-01": "All Saints' Day",
"2002-11-30": "Bonifacio Day",
- "2002-12-06": "Eid'l Fitr (Feast of Ramadhan)",
+ "2002-12-06": "Eid al-Fitr",
"2002-12-25": "Christmas Day",
"2002-12-30": "Rizal Day",
"2002-12-31": "Last Day of the Year",
"2003-01-01": "New Year's Day",
- "2003-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2003-04-09": "Day of Valor",
"2003-04-17": "Maundy Thursday",
"2003-04-18": "Good Friday",
"2003-05-01": "Labor Day",
"2003-06-12": "Independence Day",
- "2003-08-21": "Ninoy Aquino Day",
"2003-08-31": "National Heroes Day",
"2003-11-01": "All Saints' Day",
- "2003-11-26": "Eid'l Fitr (Feast of Ramadhan)",
+ "2003-11-26": "Eid al-Fitr",
"2003-11-30": "Bonifacio Day",
"2003-12-25": "Christmas Day",
"2003-12-30": "Rizal Day",
"2003-12-31": "Last Day of the Year",
"2004-01-01": "New Year's Day",
"2004-04-08": "Maundy Thursday",
- "2004-04-09": "Araw ng Kagitingan (Day of Valor); Good Friday",
+ "2004-04-09": "Day of Valor; Good Friday",
"2004-05-01": "Labor Day",
"2004-06-12": "Independence Day",
"2004-08-21": "Ninoy Aquino Day",
"2004-08-29": "National Heroes Day",
"2004-11-01": "All Saints' Day",
- "2004-11-14": "Eid'l Fitr (Feast of Ramadhan)",
+ "2004-11-14": "Eid al-Fitr",
"2004-11-30": "Bonifacio Day",
"2004-12-25": "Christmas Day",
"2004-12-30": "Rizal Day",
@@ -223,26 +207,26 @@
"2005-01-01": "New Year's Day",
"2005-03-24": "Maundy Thursday",
"2005-03-25": "Good Friday",
- "2005-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2005-04-09": "Day of Valor",
"2005-05-01": "Labor Day",
"2005-06-12": "Independence Day",
"2005-08-21": "Ninoy Aquino Day",
"2005-08-28": "National Heroes Day",
"2005-11-01": "All Saints' Day",
- "2005-11-04": "Eid'l Fitr (Feast of Ramadhan)",
+ "2005-11-04": "Eid al-Fitr",
"2005-11-30": "Bonifacio Day",
"2005-12-25": "Christmas Day",
"2005-12-30": "Rizal Day",
"2005-12-31": "Last Day of the Year",
"2006-01-01": "New Year's Day",
- "2006-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2006-04-09": "Day of Valor",
"2006-04-13": "Maundy Thursday",
"2006-04-14": "Good Friday",
"2006-05-01": "Labor Day",
"2006-06-12": "Independence Day",
"2006-08-21": "Ninoy Aquino Day",
"2006-08-27": "National Heroes Day",
- "2006-10-24": "Eid'l Fitr (Feast of Ramadhan)",
+ "2006-10-24": "Eid al-Fitr",
"2006-11-01": "All Saints' Day",
"2006-11-30": "Bonifacio Day",
"2006-12-25": "Christmas Day",
@@ -251,12 +235,12 @@
"2007-01-01": "New Year's Day",
"2007-04-05": "Maundy Thursday",
"2007-04-06": "Good Friday",
- "2007-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2007-04-09": "Day of Valor",
"2007-05-01": "Labor Day",
"2007-06-11": "Independence Day",
"2007-08-20": "Ninoy Aquino Day",
"2007-08-27": "National Heroes Day",
- "2007-10-12": "Eid'l Fitr (Feast of Ramadhan)",
+ "2007-10-12": "Eid al-Fitr",
"2007-11-01": "All Saints' Day",
"2007-11-30": "Bonifacio Day",
"2007-12-25": "Christmas Day",
@@ -265,12 +249,12 @@
"2008-01-01": "New Year's Day",
"2008-03-20": "Maundy Thursday",
"2008-03-21": "Good Friday",
- "2008-04-07": "Araw ng Kagitingan (Day of Valor)",
+ "2008-04-07": "Day of Valor",
"2008-05-01": "Labor Day",
"2008-06-09": "Independence Day",
"2008-08-18": "Ninoy Aquino Day",
"2008-08-25": "National Heroes Day",
- "2008-10-01": "Eid'l Fitr (Feast of Ramadhan)",
+ "2008-10-01": "Eid al-Fitr",
"2008-11-01": "All Saints' Day",
"2008-12-01": "Bonifacio Day",
"2008-12-25": "Christmas Day",
@@ -279,14 +263,14 @@
"2008-12-30": "Rizal Day",
"2008-12-31": "Last Day of the Year",
"2009-01-01": "New Year's Day",
- "2009-04-06": "Araw ng Kagitingan (Day of Valor)",
+ "2009-04-06": "Day of Valor",
"2009-04-09": "Maundy Thursday",
"2009-04-10": "Good Friday",
"2009-05-01": "Labor Day",
"2009-06-12": "Independence Day",
"2009-08-21": "Ninoy Aquino Day",
"2009-08-31": "National Heroes Day",
- "2009-09-21": "Eid'l Fitr (Feast of Ramadhan)",
+ "2009-09-21": "Eid al-Fitr",
"2009-11-01": "All Saints' Day",
"2009-11-02": "Additional special (non-working) day",
"2009-11-30": "Bonifacio Day",
@@ -297,30 +281,30 @@
"2010-01-01": "New Year's Day",
"2010-04-01": "Maundy Thursday",
"2010-04-02": "Good Friday",
- "2010-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2010-04-09": "Day of Valor",
"2010-05-01": "Labor Day",
"2010-06-14": "Independence Day",
"2010-08-23": "Ninoy Aquino Day",
"2010-08-30": "National Heroes Day",
- "2010-09-10": "Eid'l Fitr (Feast of Ramadhan)",
+ "2010-09-10": "Eid al-Fitr",
"2010-11-01": "All Saints' Day",
- "2010-11-17": "Eid'l Adha (Feast of Sacrifice)",
+ "2010-11-17": "Eid al-Adha",
"2010-11-29": "Bonifacio Day",
"2010-12-24": "Additional special (non-working) day",
"2010-12-25": "Christmas Day",
"2010-12-27": "Rizal Day",
"2010-12-31": "Last Day of the Year",
"2011-01-01": "New Year's Day",
- "2011-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2011-04-09": "Day of Valor",
"2011-04-21": "Maundy Thursday",
"2011-04-22": "Good Friday",
"2011-05-01": "Labor Day",
"2011-06-12": "Independence Day",
"2011-08-21": "Ninoy Aquino Day",
"2011-08-29": "National Heroes Day",
- "2011-08-30": "Eid'l Fitr (Feast of Ramadhan)",
+ "2011-08-30": "Eid al-Fitr",
"2011-11-01": "All Saints' Day",
- "2011-11-07": "Eid'l Adha (Feast of Sacrifice)",
+ "2011-11-07": "Eid al-Adha",
"2011-11-30": "Bonifacio Day",
"2011-12-25": "Christmas Day",
"2011-12-30": "Rizal Day",
@@ -329,13 +313,13 @@
"2012-01-23": "Chinese New Year",
"2012-04-05": "Maundy Thursday",
"2012-04-06": "Good Friday",
- "2012-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2012-04-09": "Day of Valor",
"2012-05-01": "Labor Day",
"2012-06-12": "Independence Day",
- "2012-08-20": "Eid'l Fitr (Feast of Ramadhan)",
+ "2012-08-20": "Eid al-Fitr",
"2012-08-21": "Ninoy Aquino Day",
"2012-08-27": "National Heroes Day",
- "2012-10-26": "Eid'l Adha (Feast of Sacrifice)",
+ "2012-10-26": "Eid al-Adha",
"2012-11-01": "All Saints' Day",
"2012-11-02": "Additional special (non-working) day",
"2012-11-30": "Bonifacio Day",
@@ -347,13 +331,13 @@
"2013-03-28": "Maundy Thursday",
"2013-03-29": "Good Friday",
"2013-03-30": "Black Saturday",
- "2013-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2013-04-09": "Day of Valor",
"2013-05-01": "Labor Day",
"2013-06-12": "Independence Day",
- "2013-08-09": "Eid'l Fitr (Feast of Ramadhan)",
+ "2013-08-09": "Eid al-Fitr",
"2013-08-21": "Ninoy Aquino Day",
"2013-08-26": "National Heroes Day",
- "2013-10-15": "Eid'l Adha (Feast of Sacrifice)",
+ "2013-10-15": "Eid al-Adha",
"2013-11-01": "All Saints' Day",
"2013-11-02": "Additional special (non-working) day",
"2013-11-30": "Bonifacio Day",
@@ -363,16 +347,16 @@
"2013-12-31": "Last Day of the Year",
"2014-01-01": "New Year's Day",
"2014-01-31": "Chinese New Year",
- "2014-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2014-04-09": "Day of Valor",
"2014-04-17": "Maundy Thursday",
"2014-04-18": "Good Friday",
"2014-04-19": "Black Saturday",
"2014-05-01": "Labor Day",
"2014-06-12": "Independence Day",
- "2014-07-29": "Eid'l Fitr (Feast of Ramadhan)",
+ "2014-07-29": "Eid al-Fitr",
"2014-08-21": "Ninoy Aquino Day",
"2014-08-25": "National Heroes Day",
- "2014-10-06": "Eid'l Adha (Feast of Sacrifice)",
+ "2014-10-06": "Eid al-Adha",
"2014-11-01": "All Saints' Day",
"2014-11-30": "Bonifacio Day",
"2014-12-24": "Additional special (non-working) day",
@@ -386,13 +370,13 @@
"2015-04-02": "Maundy Thursday",
"2015-04-03": "Good Friday",
"2015-04-04": "Black Saturday",
- "2015-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2015-04-09": "Day of Valor",
"2015-05-01": "Labor Day",
"2015-06-12": "Independence Day",
- "2015-07-17": "Eid'l Fitr (Feast of Ramadhan)",
+ "2015-07-17": "Eid al-Fitr",
"2015-08-21": "Ninoy Aquino Day",
"2015-08-31": "National Heroes Day",
- "2015-09-25": "Eid'l Adha (Feast of Sacrifice)",
+ "2015-09-25": "Eid al-Adha",
"2015-11-01": "All Saints' Day",
"2015-11-30": "Bonifacio Day",
"2015-12-24": "Additional special (non-working) day",
@@ -406,13 +390,13 @@
"2016-03-24": "Maundy Thursday",
"2016-03-25": "Good Friday",
"2016-03-26": "Black Saturday",
- "2016-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2016-04-09": "Day of Valor",
"2016-05-01": "Labor Day",
"2016-06-12": "Independence Day",
- "2016-07-07": "Eid'l Fitr (Feast of Ramadhan)",
+ "2016-07-07": "Eid al-Fitr",
"2016-08-21": "Ninoy Aquino Day",
"2016-08-29": "National Heroes Day",
- "2016-09-10": "Eid'l Adha (Feast of Sacrifice)",
+ "2016-09-10": "Eid al-Adha",
"2016-10-31": "Additional special (non-working) day",
"2016-11-01": "All Saints' Day",
"2016-11-30": "Bonifacio Day",
@@ -423,16 +407,16 @@
"2017-01-01": "New Year's Day",
"2017-01-02": "Additional special (non-working) day",
"2017-01-28": "Chinese New Year",
- "2017-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2017-04-09": "Day of Valor",
"2017-04-13": "Maundy Thursday",
"2017-04-14": "Good Friday",
"2017-04-15": "Black Saturday",
"2017-05-01": "Labor Day",
"2017-06-12": "Independence Day",
- "2017-06-26": "Eid'l Fitr (Feast of Ramadhan)",
+ "2017-06-26": "Eid al-Fitr",
"2017-08-21": "Ninoy Aquino Day",
"2017-08-28": "National Heroes Day",
- "2017-09-02": "Eid'l Adha (Feast of Sacrifice)",
+ "2017-09-02": "Eid al-Adha",
"2017-10-31": "Additional special (non-working) day",
"2017-11-01": "All Saints' Day",
"2017-11-30": "Bonifacio Day",
@@ -445,12 +429,12 @@
"2018-03-29": "Maundy Thursday",
"2018-03-30": "Good Friday",
"2018-03-31": "Black Saturday",
- "2018-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2018-04-09": "Day of Valor",
"2018-05-01": "Labor Day",
"2018-05-14": "Elections special (non-working) day",
"2018-06-12": "Independence Day",
- "2018-06-15": "Eid'l Fitr (Feast of Ramadhan)",
- "2018-08-21": "Eid'l Adha (Feast of Sacrifice); Ninoy Aquino Day",
+ "2018-06-15": "Eid al-Fitr",
+ "2018-08-21": "Eid al-Adha; Ninoy Aquino Day",
"2018-08-27": "National Heroes Day",
"2018-11-01": "All Saints' Day",
"2018-11-02": "Additional special (non-working) day",
@@ -462,21 +446,21 @@
"2019-01-01": "New Year's Day",
"2019-02-05": "Chinese New Year",
"2019-02-25": "EDSA People Power Revolution Anniversary",
- "2019-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2019-04-09": "Day of Valor",
"2019-04-18": "Maundy Thursday",
"2019-04-19": "Good Friday",
"2019-04-20": "Black Saturday",
"2019-05-01": "Labor Day",
"2019-05-13": "Elections special (non-working) day",
- "2019-06-05": "Eid'l Fitr (Feast of Ramadhan)",
+ "2019-06-05": "Eid al-Fitr",
"2019-06-12": "Independence Day",
- "2019-08-12": "Eid'l Adha (Feast of Sacrifice)",
+ "2019-08-12": "Eid al-Adha",
"2019-08-21": "Ninoy Aquino Day",
"2019-08-26": "National Heroes Day",
"2019-11-01": "All Saints' Day",
"2019-11-02": "Additional special (non-working) day",
"2019-11-30": "Bonifacio Day",
- "2019-12-08": "Feast of the Immaculate Conception of Mary",
+ "2019-12-08": "Immaculate Conception",
"2019-12-24": "Additional special (non-working) day",
"2019-12-25": "Christmas Day",
"2019-12-30": "Rizal Day",
@@ -484,19 +468,19 @@
"2020-01-01": "New Year's Day",
"2020-01-25": "Chinese New Year",
"2020-02-25": "EDSA People Power Revolution Anniversary",
- "2020-04-09": "Araw ng Kagitingan (Day of Valor); Maundy Thursday",
+ "2020-04-09": "Day of Valor; Maundy Thursday",
"2020-04-10": "Good Friday",
"2020-04-11": "Black Saturday",
"2020-05-01": "Labor Day",
- "2020-05-25": "Eid'l Fitr (Feast of Ramadhan)",
+ "2020-05-25": "Eid al-Fitr",
"2020-06-12": "Independence Day",
- "2020-07-31": "Eid'l Adha (Feast of Sacrifice)",
+ "2020-07-31": "Eid al-Adha",
"2020-08-21": "Ninoy Aquino Day",
"2020-08-31": "National Heroes Day",
"2020-11-01": "All Saints' Day",
"2020-11-02": "Additional special (non-working) day",
"2020-11-30": "Bonifacio Day",
- "2020-12-08": "Feast of the Immaculate Conception of Mary",
+ "2020-12-08": "Immaculate Conception",
"2020-12-24": "Additional special (non-working) day",
"2020-12-25": "Christmas Day",
"2020-12-30": "Rizal Day",
@@ -507,36 +491,36 @@
"2021-04-01": "Maundy Thursday",
"2021-04-02": "Good Friday",
"2021-04-03": "Black Saturday",
- "2021-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2021-04-09": "Day of Valor",
"2021-05-01": "Labor Day",
- "2021-05-13": "Eid'l Fitr (Feast of Ramadhan)",
+ "2021-05-13": "Eid al-Fitr",
"2021-06-12": "Independence Day",
- "2021-07-20": "Eid'l Adha (Feast of Sacrifice)",
+ "2021-07-20": "Eid al-Adha",
"2021-08-21": "Ninoy Aquino Day",
"2021-08-30": "National Heroes Day",
"2021-11-01": "All Saints' Day",
"2021-11-30": "Bonifacio Day",
- "2021-12-08": "Feast of the Immaculate Conception of Mary",
+ "2021-12-08": "Immaculate Conception",
"2021-12-25": "Christmas Day",
"2021-12-30": "Rizal Day",
"2022-01-01": "New Year's Day",
"2022-02-01": "Chinese New Year",
"2022-02-25": "EDSA People Power Revolution Anniversary",
- "2022-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2022-04-09": "Day of Valor",
"2022-04-14": "Maundy Thursday",
"2022-04-15": "Good Friday",
"2022-04-16": "Black Saturday",
"2022-05-01": "Labor Day",
- "2022-05-03": "Eid'l Fitr (Feast of Ramadhan)",
+ "2022-05-03": "Eid al-Fitr",
"2022-05-09": "Elections special (non-working) day",
"2022-06-12": "Independence Day",
- "2022-07-09": "Eid'l Adha (Feast of Sacrifice)",
+ "2022-07-09": "Eid al-Adha",
"2022-08-21": "Ninoy Aquino Day",
"2022-08-29": "National Heroes Day",
"2022-10-31": "Additional special (non-working) day",
"2022-11-01": "All Saints' Day",
"2022-11-30": "Bonifacio Day",
- "2022-12-08": "Feast of the Immaculate Conception of Mary",
+ "2022-12-08": "Immaculate Conception",
"2022-12-25": "Christmas Day",
"2022-12-30": "Rizal Day",
"2023-01-01": "New Year's Day",
@@ -545,18 +529,18 @@
"2023-04-06": "Maundy Thursday",
"2023-04-07": "Good Friday",
"2023-04-08": "Black Saturday",
- "2023-04-09": "Araw ng Kagitingan (Day of Valor)",
- "2023-04-21": "Eid'l Fitr (Feast of Ramadhan)",
+ "2023-04-09": "Day of Valor",
+ "2023-04-21": "Eid al-Fitr",
"2023-05-01": "Labor Day",
"2023-06-12": "Independence Day",
- "2023-06-28": "Eid'l Adha (Feast of Sacrifice)",
+ "2023-06-28": "Eid al-Adha",
"2023-08-21": "Ninoy Aquino Day",
"2023-08-28": "National Heroes Day",
"2023-10-30": "Elections special (non-working) day",
"2023-11-01": "All Saints' Day",
"2023-11-02": "Additional special (non-working) day",
"2023-11-30": "Bonifacio Day",
- "2023-12-08": "Feast of the Immaculate Conception of Mary",
+ "2023-12-08": "Immaculate Conception",
"2023-12-25": "Christmas Day",
"2023-12-26": "Additional special (non-working) day",
"2023-12-30": "Rizal Day",
@@ -567,17 +551,17 @@
"2024-03-28": "Maundy Thursday",
"2024-03-29": "Good Friday",
"2024-03-30": "Black Saturday",
- "2024-04-09": "Araw ng Kagitingan (Day of Valor)",
- "2024-04-10": "Eid'l Fitr (Feast of Ramadhan)",
+ "2024-04-09": "Day of Valor",
+ "2024-04-10": "Eid al-Fitr",
"2024-05-01": "Labor Day",
"2024-06-12": "Independence Day",
- "2024-06-17": "Eid'l Adha (Feast of Sacrifice)",
+ "2024-06-17": "Eid al-Adha",
"2024-08-21": "Ninoy Aquino Day",
"2024-08-26": "National Heroes Day",
"2024-11-01": "All Saints' Day",
"2024-11-02": "Additional special (non-working) day",
"2024-11-30": "Bonifacio Day",
- "2024-12-08": "Feast of the Immaculate Conception of Mary",
+ "2024-12-08": "Immaculate Conception",
"2024-12-24": "Additional special (non-working) day",
"2024-12-25": "Christmas Day",
"2024-12-30": "Rizal Day",
@@ -585,104 +569,104 @@
"2025-01-01": "New Year's Day",
"2025-01-29": "Chinese New Year",
"2025-02-25": "EDSA People Power Revolution Anniversary",
- "2025-03-30": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
- "2025-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2025-03-30": "Eid al-Fitr (estimated)",
+ "2025-04-09": "Day of Valor",
"2025-04-17": "Maundy Thursday",
"2025-04-18": "Good Friday",
"2025-04-19": "Black Saturday",
"2025-05-01": "Labor Day",
- "2025-06-06": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2025-06-06": "Eid al-Adha (estimated)",
"2025-06-12": "Independence Day",
"2025-08-21": "Ninoy Aquino Day",
"2025-08-25": "National Heroes Day",
"2025-11-01": "All Saints' Day",
"2025-11-30": "Bonifacio Day",
- "2025-12-08": "Feast of the Immaculate Conception of Mary",
+ "2025-12-08": "Immaculate Conception",
"2025-12-25": "Christmas Day",
"2025-12-30": "Rizal Day",
"2025-12-31": "Last Day of the Year",
"2026-01-01": "New Year's Day",
"2026-02-17": "Chinese New Year",
"2026-02-25": "EDSA People Power Revolution Anniversary",
- "2026-03-20": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2026-03-20": "Eid al-Fitr (estimated)",
"2026-04-02": "Maundy Thursday",
"2026-04-03": "Good Friday",
"2026-04-04": "Black Saturday",
- "2026-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2026-04-09": "Day of Valor",
"2026-05-01": "Labor Day",
- "2026-05-27": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2026-05-27": "Eid al-Adha (estimated)",
"2026-06-12": "Independence Day",
"2026-08-21": "Ninoy Aquino Day",
"2026-08-31": "National Heroes Day",
"2026-11-01": "All Saints' Day",
"2026-11-30": "Bonifacio Day",
- "2026-12-08": "Feast of the Immaculate Conception of Mary",
+ "2026-12-08": "Immaculate Conception",
"2026-12-25": "Christmas Day",
"2026-12-30": "Rizal Day",
"2026-12-31": "Last Day of the Year",
"2027-01-01": "New Year's Day",
"2027-02-06": "Chinese New Year",
"2027-02-25": "EDSA People Power Revolution Anniversary",
- "2027-03-09": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2027-03-09": "Eid al-Fitr (estimated)",
"2027-03-25": "Maundy Thursday",
"2027-03-26": "Good Friday",
"2027-03-27": "Black Saturday",
- "2027-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2027-04-09": "Day of Valor",
"2027-05-01": "Labor Day",
- "2027-05-16": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2027-05-16": "Eid al-Adha (estimated)",
"2027-06-12": "Independence Day",
"2027-08-21": "Ninoy Aquino Day",
"2027-08-30": "National Heroes Day",
"2027-11-01": "All Saints' Day",
"2027-11-30": "Bonifacio Day",
- "2027-12-08": "Feast of the Immaculate Conception of Mary",
+ "2027-12-08": "Immaculate Conception",
"2027-12-25": "Christmas Day",
"2027-12-30": "Rizal Day",
"2027-12-31": "Last Day of the Year",
"2028-01-01": "New Year's Day",
"2028-01-26": "Chinese New Year",
"2028-02-25": "EDSA People Power Revolution Anniversary",
- "2028-02-26": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
- "2028-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2028-02-26": "Eid al-Fitr (estimated)",
+ "2028-04-09": "Day of Valor",
"2028-04-13": "Maundy Thursday",
"2028-04-14": "Good Friday",
"2028-04-15": "Black Saturday",
"2028-05-01": "Labor Day",
- "2028-05-05": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2028-05-05": "Eid al-Adha (estimated)",
"2028-06-12": "Independence Day",
"2028-08-21": "Ninoy Aquino Day",
"2028-08-28": "National Heroes Day",
"2028-11-01": "All Saints' Day",
"2028-11-30": "Bonifacio Day",
- "2028-12-08": "Feast of the Immaculate Conception of Mary",
+ "2028-12-08": "Immaculate Conception",
"2028-12-25": "Christmas Day",
"2028-12-30": "Rizal Day",
"2028-12-31": "Last Day of the Year",
"2029-01-01": "New Year's Day",
"2029-02-13": "Chinese New Year",
- "2029-02-14": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2029-02-14": "Eid al-Fitr (estimated)",
"2029-02-25": "EDSA People Power Revolution Anniversary",
"2029-03-29": "Maundy Thursday",
"2029-03-30": "Good Friday",
"2029-03-31": "Black Saturday",
- "2029-04-09": "Araw ng Kagitingan (Day of Valor)",
- "2029-04-24": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2029-04-09": "Day of Valor",
+ "2029-04-24": "Eid al-Adha (estimated)",
"2029-05-01": "Labor Day",
"2029-06-12": "Independence Day",
"2029-08-21": "Ninoy Aquino Day",
"2029-08-27": "National Heroes Day",
"2029-11-01": "All Saints' Day",
"2029-11-30": "Bonifacio Day",
- "2029-12-08": "Feast of the Immaculate Conception of Mary",
+ "2029-12-08": "Immaculate Conception",
"2029-12-25": "Christmas Day",
"2029-12-30": "Rizal Day",
"2029-12-31": "Last Day of the Year",
"2030-01-01": "New Year's Day",
"2030-02-03": "Chinese New Year",
- "2030-02-04": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2030-02-04": "Eid al-Fitr (estimated)",
"2030-02-25": "EDSA People Power Revolution Anniversary",
- "2030-04-09": "Araw ng Kagitingan (Day of Valor)",
- "2030-04-13": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2030-04-09": "Day of Valor",
+ "2030-04-13": "Eid al-Adha (estimated)",
"2030-04-18": "Maundy Thursday",
"2030-04-19": "Good Friday",
"2030-04-20": "Black Saturday",
@@ -692,16 +676,16 @@
"2030-08-26": "National Heroes Day",
"2030-11-01": "All Saints' Day",
"2030-11-30": "Bonifacio Day",
- "2030-12-08": "Feast of the Immaculate Conception of Mary",
+ "2030-12-08": "Immaculate Conception",
"2030-12-25": "Christmas Day",
"2030-12-30": "Rizal Day",
"2030-12-31": "Last Day of the Year",
"2031-01-01": "New Year's Day",
"2031-01-23": "Chinese New Year",
- "2031-01-24": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2031-01-24": "Eid al-Fitr (estimated)",
"2031-02-25": "EDSA People Power Revolution Anniversary",
- "2031-04-02": "Eid'l Adha (Feast of Sacrifice) (estimated)",
- "2031-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2031-04-02": "Eid al-Adha (estimated)",
+ "2031-04-09": "Day of Valor",
"2031-04-10": "Maundy Thursday",
"2031-04-11": "Good Friday",
"2031-04-12": "Black Saturday",
@@ -711,35 +695,35 @@
"2031-08-25": "National Heroes Day",
"2031-11-01": "All Saints' Day",
"2031-11-30": "Bonifacio Day",
- "2031-12-08": "Feast of the Immaculate Conception of Mary",
+ "2031-12-08": "Immaculate Conception",
"2031-12-25": "Christmas Day",
"2031-12-30": "Rizal Day",
"2031-12-31": "Last Day of the Year",
"2032-01-01": "New Year's Day",
- "2032-01-14": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2032-01-14": "Eid al-Fitr (estimated)",
"2032-02-11": "Chinese New Year",
"2032-02-25": "EDSA People Power Revolution Anniversary",
- "2032-03-22": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2032-03-22": "Eid al-Adha (estimated)",
"2032-03-25": "Maundy Thursday",
"2032-03-26": "Good Friday",
"2032-03-27": "Black Saturday",
- "2032-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2032-04-09": "Day of Valor",
"2032-05-01": "Labor Day",
"2032-06-12": "Independence Day",
"2032-08-21": "Ninoy Aquino Day",
"2032-08-30": "National Heroes Day",
"2032-11-01": "All Saints' Day",
"2032-11-30": "Bonifacio Day",
- "2032-12-08": "Feast of the Immaculate Conception of Mary",
+ "2032-12-08": "Immaculate Conception",
"2032-12-25": "Christmas Day",
"2032-12-30": "Rizal Day",
"2032-12-31": "Last Day of the Year",
"2033-01-01": "New Year's Day",
- "2033-01-02": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2033-01-02": "Eid al-Fitr (estimated)",
"2033-01-31": "Chinese New Year",
"2033-02-25": "EDSA People Power Revolution Anniversary",
- "2033-03-11": "Eid'l Adha (Feast of Sacrifice) (estimated)",
- "2033-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2033-03-11": "Eid al-Adha (estimated)",
+ "2033-04-09": "Day of Valor",
"2033-04-14": "Maundy Thursday",
"2033-04-15": "Good Friday",
"2033-04-16": "Black Saturday",
@@ -749,54 +733,54 @@
"2033-08-29": "National Heroes Day",
"2033-11-01": "All Saints' Day",
"2033-11-30": "Bonifacio Day",
- "2033-12-08": "Feast of the Immaculate Conception of Mary",
- "2033-12-23": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2033-12-08": "Immaculate Conception",
+ "2033-12-23": "Eid al-Fitr (estimated)",
"2033-12-25": "Christmas Day",
"2033-12-30": "Rizal Day",
"2033-12-31": "Last Day of the Year",
"2034-01-01": "New Year's Day",
"2034-02-19": "Chinese New Year",
"2034-02-25": "EDSA People Power Revolution Anniversary",
- "2034-03-01": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2034-03-01": "Eid al-Adha (estimated)",
"2034-04-06": "Maundy Thursday",
"2034-04-07": "Good Friday",
"2034-04-08": "Black Saturday",
- "2034-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2034-04-09": "Day of Valor",
"2034-05-01": "Labor Day",
"2034-06-12": "Independence Day",
"2034-08-21": "Ninoy Aquino Day",
"2034-08-28": "National Heroes Day",
"2034-11-01": "All Saints' Day",
"2034-11-30": "Bonifacio Day",
- "2034-12-08": "Feast of the Immaculate Conception of Mary",
- "2034-12-12": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2034-12-08": "Immaculate Conception",
+ "2034-12-12": "Eid al-Fitr (estimated)",
"2034-12-25": "Christmas Day",
"2034-12-30": "Rizal Day",
"2034-12-31": "Last Day of the Year",
"2035-01-01": "New Year's Day",
"2035-02-08": "Chinese New Year",
- "2035-02-18": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2035-02-18": "Eid al-Adha (estimated)",
"2035-02-25": "EDSA People Power Revolution Anniversary",
"2035-03-22": "Maundy Thursday",
"2035-03-23": "Good Friday",
"2035-03-24": "Black Saturday",
- "2035-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2035-04-09": "Day of Valor",
"2035-05-01": "Labor Day",
"2035-06-12": "Independence Day",
"2035-08-21": "Ninoy Aquino Day",
"2035-08-27": "National Heroes Day",
"2035-11-01": "All Saints' Day",
"2035-11-30": "Bonifacio Day",
- "2035-12-01": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
- "2035-12-08": "Feast of the Immaculate Conception of Mary",
+ "2035-12-01": "Eid al-Fitr (estimated)",
+ "2035-12-08": "Immaculate Conception",
"2035-12-25": "Christmas Day",
"2035-12-30": "Rizal Day",
"2035-12-31": "Last Day of the Year",
"2036-01-01": "New Year's Day",
"2036-01-28": "Chinese New Year",
- "2036-02-07": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2036-02-07": "Eid al-Adha (estimated)",
"2036-02-25": "EDSA People Power Revolution Anniversary",
- "2036-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2036-04-09": "Day of Valor",
"2036-04-10": "Maundy Thursday",
"2036-04-11": "Good Friday",
"2036-04-12": "Black Saturday",
@@ -805,36 +789,36 @@
"2036-08-21": "Ninoy Aquino Day",
"2036-08-25": "National Heroes Day",
"2036-11-01": "All Saints' Day",
- "2036-11-19": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2036-11-19": "Eid al-Fitr (estimated)",
"2036-11-30": "Bonifacio Day",
- "2036-12-08": "Feast of the Immaculate Conception of Mary",
+ "2036-12-08": "Immaculate Conception",
"2036-12-25": "Christmas Day",
"2036-12-30": "Rizal Day",
"2036-12-31": "Last Day of the Year",
"2037-01-01": "New Year's Day",
- "2037-01-26": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2037-01-26": "Eid al-Adha (estimated)",
"2037-02-15": "Chinese New Year",
"2037-02-25": "EDSA People Power Revolution Anniversary",
"2037-04-02": "Maundy Thursday",
"2037-04-03": "Good Friday",
"2037-04-04": "Black Saturday",
- "2037-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2037-04-09": "Day of Valor",
"2037-05-01": "Labor Day",
"2037-06-12": "Independence Day",
"2037-08-21": "Ninoy Aquino Day",
"2037-08-31": "National Heroes Day",
"2037-11-01": "All Saints' Day",
- "2037-11-08": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2037-11-08": "Eid al-Fitr (estimated)",
"2037-11-30": "Bonifacio Day",
- "2037-12-08": "Feast of the Immaculate Conception of Mary",
+ "2037-12-08": "Immaculate Conception",
"2037-12-25": "Christmas Day",
"2037-12-30": "Rizal Day",
"2037-12-31": "Last Day of the Year",
"2038-01-01": "New Year's Day",
- "2038-01-16": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2038-01-16": "Eid al-Adha (estimated)",
"2038-02-04": "Chinese New Year",
"2038-02-25": "EDSA People Power Revolution Anniversary",
- "2038-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2038-04-09": "Day of Valor",
"2038-04-22": "Maundy Thursday",
"2038-04-23": "Good Friday",
"2038-04-24": "Black Saturday",
@@ -842,30 +826,30 @@
"2038-06-12": "Independence Day",
"2038-08-21": "Ninoy Aquino Day",
"2038-08-30": "National Heroes Day",
- "2038-10-29": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2038-10-29": "Eid al-Fitr (estimated)",
"2038-11-01": "All Saints' Day",
"2038-11-30": "Bonifacio Day",
- "2038-12-08": "Feast of the Immaculate Conception of Mary",
+ "2038-12-08": "Immaculate Conception",
"2038-12-25": "Christmas Day",
"2038-12-30": "Rizal Day",
"2038-12-31": "Last Day of the Year",
"2039-01-01": "New Year's Day",
- "2039-01-05": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2039-01-05": "Eid al-Adha (estimated)",
"2039-01-24": "Chinese New Year",
"2039-02-25": "EDSA People Power Revolution Anniversary",
"2039-04-07": "Maundy Thursday",
"2039-04-08": "Good Friday",
- "2039-04-09": "Araw ng Kagitingan (Day of Valor); Black Saturday",
+ "2039-04-09": "Black Saturday; Day of Valor",
"2039-05-01": "Labor Day",
"2039-06-12": "Independence Day",
"2039-08-21": "Ninoy Aquino Day",
"2039-08-29": "National Heroes Day",
- "2039-10-19": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2039-10-19": "Eid al-Fitr (estimated)",
"2039-11-01": "All Saints' Day",
"2039-11-30": "Bonifacio Day",
- "2039-12-08": "Feast of the Immaculate Conception of Mary",
+ "2039-12-08": "Immaculate Conception",
"2039-12-25": "Christmas Day",
- "2039-12-26": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2039-12-26": "Eid al-Adha (estimated)",
"2039-12-30": "Rizal Day",
"2039-12-31": "Last Day of the Year",
"2040-01-01": "New Year's Day",
@@ -874,23 +858,23 @@
"2040-03-29": "Maundy Thursday",
"2040-03-30": "Good Friday",
"2040-03-31": "Black Saturday",
- "2040-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2040-04-09": "Day of Valor",
"2040-05-01": "Labor Day",
"2040-06-12": "Independence Day",
"2040-08-21": "Ninoy Aquino Day",
"2040-08-27": "National Heroes Day",
- "2040-10-07": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2040-10-07": "Eid al-Fitr (estimated)",
"2040-11-01": "All Saints' Day",
"2040-11-30": "Bonifacio Day",
- "2040-12-08": "Feast of the Immaculate Conception of Mary",
- "2040-12-14": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2040-12-08": "Immaculate Conception",
+ "2040-12-14": "Eid al-Adha (estimated)",
"2040-12-25": "Christmas Day",
"2040-12-30": "Rizal Day",
"2040-12-31": "Last Day of the Year",
"2041-01-01": "New Year's Day",
"2041-02-01": "Chinese New Year",
"2041-02-25": "EDSA People Power Revolution Anniversary",
- "2041-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2041-04-09": "Day of Valor",
"2041-04-18": "Maundy Thursday",
"2041-04-19": "Good Friday",
"2041-04-20": "Black Saturday",
@@ -898,11 +882,11 @@
"2041-06-12": "Independence Day",
"2041-08-21": "Ninoy Aquino Day",
"2041-08-26": "National Heroes Day",
- "2041-09-26": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2041-09-26": "Eid al-Fitr (estimated)",
"2041-11-01": "All Saints' Day",
"2041-11-30": "Bonifacio Day",
- "2041-12-04": "Eid'l Adha (Feast of Sacrifice) (estimated)",
- "2041-12-08": "Feast of the Immaculate Conception of Mary",
+ "2041-12-04": "Eid al-Adha (estimated)",
+ "2041-12-08": "Immaculate Conception",
"2041-12-25": "Christmas Day",
"2041-12-30": "Rizal Day",
"2041-12-31": "Last Day of the Year",
@@ -912,16 +896,16 @@
"2042-04-03": "Maundy Thursday",
"2042-04-04": "Good Friday",
"2042-04-05": "Black Saturday",
- "2042-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2042-04-09": "Day of Valor",
"2042-05-01": "Labor Day",
"2042-06-12": "Independence Day",
"2042-08-21": "Ninoy Aquino Day",
"2042-08-25": "National Heroes Day",
- "2042-09-15": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2042-09-15": "Eid al-Fitr (estimated)",
"2042-11-01": "All Saints' Day",
- "2042-11-23": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2042-11-23": "Eid al-Adha (estimated)",
"2042-11-30": "Bonifacio Day",
- "2042-12-08": "Feast of the Immaculate Conception of Mary",
+ "2042-12-08": "Immaculate Conception",
"2042-12-25": "Christmas Day",
"2042-12-30": "Rizal Day",
"2042-12-31": "Last Day of the Year",
@@ -931,35 +915,35 @@
"2043-03-26": "Maundy Thursday",
"2043-03-27": "Good Friday",
"2043-03-28": "Black Saturday",
- "2043-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2043-04-09": "Day of Valor",
"2043-05-01": "Labor Day",
"2043-06-12": "Independence Day",
"2043-08-21": "Ninoy Aquino Day",
"2043-08-31": "National Heroes Day",
- "2043-09-04": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2043-09-04": "Eid al-Fitr (estimated)",
"2043-11-01": "All Saints' Day",
- "2043-11-12": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2043-11-12": "Eid al-Adha (estimated)",
"2043-11-30": "Bonifacio Day",
- "2043-12-08": "Feast of the Immaculate Conception of Mary",
+ "2043-12-08": "Immaculate Conception",
"2043-12-25": "Christmas Day",
"2043-12-30": "Rizal Day",
"2043-12-31": "Last Day of the Year",
"2044-01-01": "New Year's Day",
"2044-01-30": "Chinese New Year",
"2044-02-25": "EDSA People Power Revolution Anniversary",
- "2044-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2044-04-09": "Day of Valor",
"2044-04-14": "Maundy Thursday",
"2044-04-15": "Good Friday",
"2044-04-16": "Black Saturday",
"2044-05-01": "Labor Day",
"2044-06-12": "Independence Day",
"2044-08-21": "Ninoy Aquino Day",
- "2044-08-24": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2044-08-24": "Eid al-Fitr (estimated)",
"2044-08-29": "National Heroes Day",
- "2044-10-31": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2044-10-31": "Eid al-Adha (estimated)",
"2044-11-01": "All Saints' Day",
"2044-11-30": "Bonifacio Day",
- "2044-12-08": "Feast of the Immaculate Conception of Mary",
+ "2044-12-08": "Immaculate Conception",
"2044-12-25": "Christmas Day",
"2044-12-30": "Rizal Day",
"2044-12-31": "Last Day of the Year",
@@ -969,16 +953,16 @@
"2045-04-06": "Maundy Thursday",
"2045-04-07": "Good Friday",
"2045-04-08": "Black Saturday",
- "2045-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2045-04-09": "Day of Valor",
"2045-05-01": "Labor Day",
"2045-06-12": "Independence Day",
- "2045-08-14": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2045-08-14": "Eid al-Fitr (estimated)",
"2045-08-21": "Ninoy Aquino Day",
"2045-08-28": "National Heroes Day",
- "2045-10-21": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2045-10-21": "Eid al-Adha (estimated)",
"2045-11-01": "All Saints' Day",
"2045-11-30": "Bonifacio Day",
- "2045-12-08": "Feast of the Immaculate Conception of Mary",
+ "2045-12-08": "Immaculate Conception",
"2045-12-25": "Christmas Day",
"2045-12-30": "Rizal Day",
"2045-12-31": "Last Day of the Year",
@@ -988,35 +972,35 @@
"2046-03-22": "Maundy Thursday",
"2046-03-23": "Good Friday",
"2046-03-24": "Black Saturday",
- "2046-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2046-04-09": "Day of Valor",
"2046-05-01": "Labor Day",
"2046-06-12": "Independence Day",
- "2046-08-03": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2046-08-03": "Eid al-Fitr (estimated)",
"2046-08-21": "Ninoy Aquino Day",
"2046-08-27": "National Heroes Day",
- "2046-10-10": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2046-10-10": "Eid al-Adha (estimated)",
"2046-11-01": "All Saints' Day",
"2046-11-30": "Bonifacio Day",
- "2046-12-08": "Feast of the Immaculate Conception of Mary",
+ "2046-12-08": "Immaculate Conception",
"2046-12-25": "Christmas Day",
"2046-12-30": "Rizal Day",
"2046-12-31": "Last Day of the Year",
"2047-01-01": "New Year's Day",
"2047-01-26": "Chinese New Year",
"2047-02-25": "EDSA People Power Revolution Anniversary",
- "2047-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2047-04-09": "Day of Valor",
"2047-04-11": "Maundy Thursday",
"2047-04-12": "Good Friday",
"2047-04-13": "Black Saturday",
"2047-05-01": "Labor Day",
"2047-06-12": "Independence Day",
- "2047-07-24": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2047-07-24": "Eid al-Fitr (estimated)",
"2047-08-21": "Ninoy Aquino Day",
"2047-08-26": "National Heroes Day",
- "2047-09-30": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2047-09-30": "Eid al-Adha (estimated)",
"2047-11-01": "All Saints' Day",
"2047-11-30": "Bonifacio Day",
- "2047-12-08": "Feast of the Immaculate Conception of Mary",
+ "2047-12-08": "Immaculate Conception",
"2047-12-25": "Christmas Day",
"2047-12-30": "Rizal Day",
"2047-12-31": "Last Day of the Year",
@@ -1026,35 +1010,35 @@
"2048-04-02": "Maundy Thursday",
"2048-04-03": "Good Friday",
"2048-04-04": "Black Saturday",
- "2048-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2048-04-09": "Day of Valor",
"2048-05-01": "Labor Day",
"2048-06-12": "Independence Day",
- "2048-07-12": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2048-07-12": "Eid al-Fitr (estimated)",
"2048-08-21": "Ninoy Aquino Day",
"2048-08-31": "National Heroes Day",
- "2048-09-19": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2048-09-19": "Eid al-Adha (estimated)",
"2048-11-01": "All Saints' Day",
"2048-11-30": "Bonifacio Day",
- "2048-12-08": "Feast of the Immaculate Conception of Mary",
+ "2048-12-08": "Immaculate Conception",
"2048-12-25": "Christmas Day",
"2048-12-30": "Rizal Day",
"2048-12-31": "Last Day of the Year",
"2049-01-01": "New Year's Day",
"2049-02-02": "Chinese New Year",
"2049-02-25": "EDSA People Power Revolution Anniversary",
- "2049-04-09": "Araw ng Kagitingan (Day of Valor)",
+ "2049-04-09": "Day of Valor",
"2049-04-15": "Maundy Thursday",
"2049-04-16": "Good Friday",
"2049-04-17": "Black Saturday",
"2049-05-01": "Labor Day",
"2049-06-12": "Independence Day",
- "2049-07-01": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2049-07-01": "Eid al-Fitr (estimated)",
"2049-08-21": "Ninoy Aquino Day",
"2049-08-30": "National Heroes Day",
- "2049-09-08": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2049-09-08": "Eid al-Adha (estimated)",
"2049-11-01": "All Saints' Day",
"2049-11-30": "Bonifacio Day",
- "2049-12-08": "Feast of the Immaculate Conception of Mary",
+ "2049-12-08": "Immaculate Conception",
"2049-12-25": "Christmas Day",
"2049-12-30": "Rizal Day",
"2049-12-31": "Last Day of the Year",
@@ -1063,16 +1047,16 @@
"2050-02-25": "EDSA People Power Revolution Anniversary",
"2050-04-07": "Maundy Thursday",
"2050-04-08": "Good Friday",
- "2050-04-09": "Araw ng Kagitingan (Day of Valor); Black Saturday",
+ "2050-04-09": "Black Saturday; Day of Valor",
"2050-05-01": "Labor Day",
"2050-06-12": "Independence Day",
- "2050-06-20": "Eid'l Fitr (Feast of Ramadhan) (estimated)",
+ "2050-06-20": "Eid al-Fitr (estimated)",
"2050-08-21": "Ninoy Aquino Day",
- "2050-08-28": "Eid'l Adha (Feast of Sacrifice) (estimated)",
+ "2050-08-28": "Eid al-Adha (estimated)",
"2050-08-29": "National Heroes Day",
"2050-11-01": "All Saints' Day",
"2050-11-30": "Bonifacio Day",
- "2050-12-08": "Feast of the Immaculate Conception of Mary",
+ "2050-12-08": "Immaculate Conception",
"2050-12-25": "Christmas Day",
"2050-12-30": "Rizal Day",
"2050-12-31": "Last Day of the Year"
diff --git a/tests/countries/test_philippines.py b/tests/countries/test_philippines.py
index 3d5018291..71d82276b 100644
--- a/tests/countries/test_philippines.py
+++ b/tests/countries/test_philippines.py
@@ -19,7 +19,7 @@
class TestPhilippines(CommonCountryTests, TestCase):
@classmethod
def setUpClass(cls):
- super().setUpClass(Philippines, years=range(1988, 2051))
+ super().setUpClass(Philippines, years=range(1988, 2050))
def test_country_aliases(self):
self.assertAliases(Philippines, PH, PHL)
@@ -66,7 +66,7 @@ def test_special_holidays(self):
)
def test_new_years_day(self):
- self.assertHolidayName("New Year's Day", (f"{year}-01-01" for year in range(1988, 2051)))
+ self.assertHolidayName("New Year's Day", (f"{year}-01-01" for year in range(1988, 2050)))
def test_chinese_new_year(self):
name = "Chinese New Year"
@@ -91,10 +91,9 @@ def test_edsa_revolution(self):
name = "EDSA People Power Revolution Anniversary"
self.assertHolidayName(
name,
+ (f"{year}-02-25" for year in [*range(2018, 2023), *range(2025, 2050)]),
"2016-02-25",
- (f"{year}-02-25" for year in range(2018, 2023)),
"2023-02-24",
- (f"{year}-02-25" for year in range(2025, 2051)),
)
def test_maundy_thursday(self):
@@ -111,7 +110,7 @@ def test_maundy_thursday(self):
"2023-04-06",
"2024-03-28",
)
- self.assertHolidayName(name, range(1988, 2051))
+ self.assertHolidayName(name, range(1988, 2050))
def test_good_friday(self):
name = "Good Friday"
@@ -127,7 +126,7 @@ def test_good_friday(self):
"2023-04-07",
"2024-03-29",
)
- self.assertHolidayName(name, range(1988, 2051))
+ self.assertHolidayName(name, range(1988, 2050))
def test_black_saturday(self):
name = "Black Saturday"
@@ -143,45 +142,43 @@ def test_black_saturday(self):
"2023-04-08",
"2024-03-30",
)
- self.assertHolidayName(name, range(2013, 2051))
+ self.assertHolidayName(name, range(2013, 2050))
self.assertNoHolidayName(name, range(1988, 2013))
def test_day_of_valor(self):
- name = "Araw ng Kagitingan (Day of Valor)"
+ name = "Araw ng Kagitingan"
self.assertHolidayName(
name,
- (f"{year}-04-09" for year in range(1988, 2008)),
+ (f"{year}-04-09" for year in [*range(1988, 2008), *range(2010, 2050)]),
"2008-04-07",
"2009-04-06",
- (f"{year}-04-09" for year in range(2010, 2051)),
)
def test_labor_day(self):
- self.assertHolidayName("Labor Day", (f"{year}-05-01" for year in range(1988, 2051)))
+ self.assertHolidayName("Labor Day", (f"{year}-05-01" for year in range(1988, 2050)))
def test_independence_day(self):
name = "Independence Day"
self.assertHolidayName(
name,
- (f"{year}-06-12" for year in range(1988, 2007)),
+ (f"{year}-06-12" for year in [*range(1988, 2007), *range(2011, 2050)]),
"2007-06-11",
"2008-06-09",
"2009-06-12",
"2010-06-14",
- (f"{year}-06-12" for year in range(2011, 2051)),
)
def test_ninoy_aquino_day(self):
name = "Ninoy Aquino Day"
self.assertHolidayName(
name,
- (f"{year}-08-21" for year in range(1988, 2007)),
+ (f"{year}-08-21" for year in [*range(2004, 2007), *range(2011, 2050)]),
"2007-08-20",
"2008-08-18",
"2009-08-21",
"2010-08-23",
- (f"{year}-08-21" for year in range(2011, 2051)),
)
+ self.assertNoHolidayName(name, range(1988, 2004))
def test_national_heroes_day(self):
name = "National Heroes Day"
@@ -202,50 +199,46 @@ def test_national_heroes_day(self):
"2023-08-28",
"2024-08-26",
)
- self.assertHolidayName(name, range(1988, 2051))
+ self.assertHolidayName(name, range(1988, 2050))
def test_all_saints_day(self):
- self.assertHolidayName("All Saints' Day", (f"{year}-11-01" for year in range(1988, 2051)))
+ self.assertHolidayName("All Saints' Day", (f"{year}-11-01" for year in range(1988, 2050)))
def test_bonifacio_day(self):
name = "Bonifacio Day"
self.assertHolidayName(
name,
- (f"{year}-11-30" for year in range(1988, 2008)),
+ (f"{year}-11-30" for year in [*range(1988, 2008), *range(2011, 2050)]),
"2008-12-01",
"2009-11-30",
"2010-11-29",
- (f"{year}-11-30" for year in range(2011, 2051)),
)
def test_immaculate_conception_day(self):
name = "Feast of the Immaculate Conception of Mary"
- self.assertHolidayName(name, (f"{year}-12-08" for year in range(2019, 2051)))
+ self.assertHolidayName(name, (f"{year}-12-08" for year in range(2019, 2050)))
self.assertNoHolidayName(name, range(1988, 2019))
def test_christmas_day(self):
- self.assertHolidayName("Christmas Day", (f"{year}-12-25" for year in range(1988, 2051)))
+ self.assertHolidayName("Christmas Day", (f"{year}-12-25" for year in range(1988, 2050)))
def test_rizal_day(self):
name = "Rizal Day"
self.assertHolidayName(
name,
- (f"{year}-12-30" for year in range(1988, 2010)),
+ (f"{year}-12-30" for year in [*range(1988, 2010), *range(2011, 2050)]),
"2010-12-27",
- (f"{year}-12-30" for year in range(2011, 2051)),
)
def test_last_day_of_year(self):
name = "Last Day of the Year"
self.assertHolidayName(
- name,
- (f"{year}-12-31" for year in range(1988, 2021)),
- (f"{year}-12-31" for year in range(2023, 2051)),
+ name, (f"{year}-12-31" for year in [*range(1988, 2021), *range(2023, 2050)])
)
self.assertNoHolidayName(name, 2021, 2022)
def test_eid_al_fitr(self):
- name = "Eid'l Fitr (Feast of Ramadhan)"
+ name = "Eid'l Fitr"
self.assertHolidayName(
name,
"2016-07-07",
@@ -259,11 +252,11 @@ def test_eid_al_fitr(self):
"2024-04-10",
)
years_found = {dt.year for dt in self.holidays.get_named(name, lookup="startswith")}
- self.assertTrue(set(range(2002, 2051)).issubset(years_found))
+ self.assertTrue(set(range(2002, 2050)).issubset(years_found))
self.assertFalse(set(range(1988, 2002)).intersection(years_found))
def test_eid_al_adha(self):
- name = "Eid'l Adha (Feast of Sacrifice)"
+ name = "Eid'l Adha"
self.assertHolidayName(
name,
"2016-09-10",
@@ -277,9 +270,134 @@ def test_eid_al_adha(self):
"2024-06-17",
)
years_found = {dt.year for dt in self.holidays.get_named(name, lookup="startswith")}
- self.assertTrue(set(range(2010, 2051)).issubset(years_found))
+ self.assertTrue(set(range(2010, 2050)).issubset(years_found))
self.assertFalse(set(range(1988, 2010)).intersection(years_found))
+ def test_2018(self):
+ self.assertHolidays(
+ Philippines(years=2018),
+ ("2018-01-01", "New Year's Day"),
+ ("2018-02-16", "Chinese New Year"),
+ ("2018-02-25", "EDSA People Power Revolution Anniversary"),
+ ("2018-03-29", "Maundy Thursday"),
+ ("2018-03-30", "Good Friday"),
+ ("2018-03-31", "Black Saturday"),
+ ("2018-04-09", "Araw ng Kagitingan"),
+ ("2018-05-01", "Labor Day"),
+ ("2018-05-14", "Elections special (non-working) day"),
+ ("2018-06-12", "Independence Day"),
+ ("2018-06-15", "Eid'l Fitr"),
+ ("2018-08-21", "Eid'l Adha; Ninoy Aquino Day"),
+ ("2018-08-27", "National Heroes Day"),
+ ("2018-11-01", "All Saints' Day"),
+ ("2018-11-02", "Additional special (non-working) day"),
+ ("2018-11-30", "Bonifacio Day"),
+ ("2018-12-24", "Additional special (non-working) day"),
+ ("2018-12-25", "Christmas Day"),
+ ("2018-12-30", "Rizal Day"),
+ ("2018-12-31", "Last Day of the Year"),
+ )
+
+ def test_2019(self):
+ self.assertHolidays(
+ Philippines(years=2019),
+ ("2019-01-01", "New Year's Day"),
+ ("2019-02-05", "Chinese New Year"),
+ ("2019-02-25", "EDSA People Power Revolution Anniversary"),
+ ("2019-04-09", "Araw ng Kagitingan"),
+ ("2019-04-18", "Maundy Thursday"),
+ ("2019-04-19", "Good Friday"),
+ ("2019-04-20", "Black Saturday"),
+ ("2019-05-01", "Labor Day"),
+ ("2019-05-13", "Elections special (non-working) day"),
+ ("2019-06-05", "Eid'l Fitr"),
+ ("2019-06-12", "Independence Day"),
+ ("2019-08-12", "Eid'l Adha"),
+ ("2019-08-21", "Ninoy Aquino Day"),
+ ("2019-08-26", "National Heroes Day"),
+ ("2019-11-01", "All Saints' Day"),
+ ("2019-11-02", "Additional special (non-working) day"),
+ ("2019-11-30", "Bonifacio Day"),
+ ("2019-12-08", "Feast of the Immaculate Conception of Mary"),
+ ("2019-12-24", "Additional special (non-working) day"),
+ ("2019-12-25", "Christmas Day"),
+ ("2019-12-30", "Rizal Day"),
+ ("2019-12-31", "Last Day of the Year"),
+ )
+
+ def test_2020(self):
+ self.assertHolidays(
+ Philippines(years=2020),
+ ("2020-01-01", "New Year's Day"),
+ ("2020-01-25", "Chinese New Year"),
+ ("2020-02-25", "EDSA People Power Revolution Anniversary"),
+ ("2020-04-09", "Araw ng Kagitingan; Maundy Thursday"),
+ ("2020-04-10", "Good Friday"),
+ ("2020-04-11", "Black Saturday"),
+ ("2020-05-01", "Labor Day"),
+ ("2020-05-25", "Eid'l Fitr"),
+ ("2020-06-12", "Independence Day"),
+ ("2020-07-31", "Eid'l Adha"),
+ ("2020-08-21", "Ninoy Aquino Day"),
+ ("2020-08-31", "National Heroes Day"),
+ ("2020-11-01", "All Saints' Day"),
+ ("2020-11-02", "Additional special (non-working) day"),
+ ("2020-11-30", "Bonifacio Day"),
+ ("2020-12-08", "Feast of the Immaculate Conception of Mary"),
+ ("2020-12-24", "Additional special (non-working) day"),
+ ("2020-12-25", "Christmas Day"),
+ ("2020-12-30", "Rizal Day"),
+ ("2020-12-31", "Last Day of the Year"),
+ )
+
+ def test_2021(self):
+ self.assertHolidays(
+ Philippines(years=2021),
+ ("2021-01-01", "New Year's Day"),
+ ("2021-02-12", "Chinese New Year"),
+ ("2021-02-25", "EDSA People Power Revolution Anniversary"),
+ ("2021-04-01", "Maundy Thursday"),
+ ("2021-04-02", "Good Friday"),
+ ("2021-04-03", "Black Saturday"),
+ ("2021-04-09", "Araw ng Kagitingan"),
+ ("2021-05-01", "Labor Day"),
+ ("2021-05-13", "Eid'l Fitr"),
+ ("2021-06-12", "Independence Day"),
+ ("2021-07-20", "Eid'l Adha"),
+ ("2021-08-21", "Ninoy Aquino Day"),
+ ("2021-08-30", "National Heroes Day"),
+ ("2021-11-01", "All Saints' Day"),
+ ("2021-11-30", "Bonifacio Day"),
+ ("2021-12-08", "Feast of the Immaculate Conception of Mary"),
+ ("2021-12-25", "Christmas Day"),
+ ("2021-12-30", "Rizal Day"),
+ )
+
+ def test_2022(self):
+ self.assertHolidays(
+ Philippines(years=2022),
+ ("2022-01-01", "New Year's Day"),
+ ("2022-02-01", "Chinese New Year"),
+ ("2022-02-25", "EDSA People Power Revolution Anniversary"),
+ ("2022-04-09", "Araw ng Kagitingan"),
+ ("2022-04-14", "Maundy Thursday"),
+ ("2022-04-15", "Good Friday"),
+ ("2022-04-16", "Black Saturday"),
+ ("2022-05-01", "Labor Day"),
+ ("2022-05-03", "Eid'l Fitr"),
+ ("2022-05-09", "Elections special (non-working) day"),
+ ("2022-06-12", "Independence Day"),
+ ("2022-07-09", "Eid'l Adha"),
+ ("2022-08-21", "Ninoy Aquino Day"),
+ ("2022-08-29", "National Heroes Day"),
+ ("2022-10-31", "Additional special (non-working) day"),
+ ("2022-11-01", "All Saints' Day"),
+ ("2022-11-30", "Bonifacio Day"),
+ ("2022-12-08", "Feast of the Immaculate Conception of Mary"),
+ ("2022-12-25", "Christmas Day"),
+ ("2022-12-30", "Rizal Day"),
+ )
+
def test_2023(self):
self.assertHolidays(
Philippines(years=2023),
@@ -289,11 +407,11 @@ def test_2023(self):
("2023-04-06", "Maundy Thursday"),
("2023-04-07", "Good Friday"),
("2023-04-08", "Black Saturday"),
- ("2023-04-09", "Araw ng Kagitingan (Day of Valor)"),
- ("2023-04-21", "Eid'l Fitr (Feast of Ramadhan)"),
+ ("2023-04-09", "Araw ng Kagitingan"),
+ ("2023-04-21", "Eid'l Fitr"),
("2023-05-01", "Labor Day"),
("2023-06-12", "Independence Day"),
- ("2023-06-28", "Eid'l Adha (Feast of Sacrifice)"),
+ ("2023-06-28", "Eid'l Adha"),
("2023-08-21", "Ninoy Aquino Day"),
("2023-08-28", "National Heroes Day"),
("2023-10-30", "Elections special (non-working) day"),
@@ -307,20 +425,19 @@ def test_2023(self):
("2023-12-31", "Last Day of the Year"),
)
- def test_2024(self):
- self.assertHolidays(
- Philippines(years=2024),
+ def test_l10n_default(self):
+ self.assertLocalizedHolidays(
("2024-01-01", "New Year's Day"),
("2024-02-09", "Additional special (non-working) day"),
("2024-02-10", "Chinese New Year"),
("2024-03-28", "Maundy Thursday"),
("2024-03-29", "Good Friday"),
("2024-03-30", "Black Saturday"),
- ("2024-04-09", "Araw ng Kagitingan (Day of Valor)"),
- ("2024-04-10", "Eid'l Fitr (Feast of Ramadhan)"),
+ ("2024-04-09", "Araw ng Kagitingan"),
+ ("2024-04-10", "Eid'l Fitr"),
("2024-05-01", "Labor Day"),
("2024-06-12", "Independence Day"),
- ("2024-06-17", "Eid'l Adha (Feast of Sacrifice)"),
+ ("2024-06-17", "Eid'l Adha"),
("2024-08-21", "Ninoy Aquino Day"),
("2024-08-26", "National Heroes Day"),
("2024-11-01", "All Saints' Day"),
@@ -332,3 +449,84 @@ def test_2024(self):
("2024-12-30", "Rizal Day"),
("2024-12-31", "Last Day of the Year"),
)
+
+ def test_l10n_en_us(self):
+ self.assertLocalizedHolidays(
+ "en_US",
+ ("2024-01-01", "New Year's Day"),
+ ("2024-02-09", "Additional special (non-working) day"),
+ ("2024-02-10", "Chinese New Year"),
+ ("2024-03-28", "Maundy Thursday"),
+ ("2024-03-29", "Good Friday"),
+ ("2024-03-30", "Black Saturday"),
+ ("2024-04-09", "Day of Valor"),
+ ("2024-04-10", "Eid al-Fitr"),
+ ("2024-05-01", "Labor Day"),
+ ("2024-06-12", "Independence Day"),
+ ("2024-06-17", "Eid al-Adha"),
+ ("2024-08-21", "Ninoy Aquino Day"),
+ ("2024-08-26", "National Heroes Day"),
+ ("2024-11-01", "All Saints' Day"),
+ ("2024-11-02", "Additional special (non-working) day"),
+ ("2024-11-30", "Bonifacio Day"),
+ ("2024-12-08", "Immaculate Conception"),
+ ("2024-12-24", "Additional special (non-working) day"),
+ ("2024-12-25", "Christmas Day"),
+ ("2024-12-30", "Rizal Day"),
+ ("2024-12-31", "Last Day of the Year"),
+ )
+
+ def test_l10n_th(self):
+ self.assertLocalizedHolidays(
+ "th",
+ ("2024-01-01", "วันขึ้นปีใหม่"),
+ ("2024-02-09", "วันหยุดพิเศษ (เพิ่มเติม)"),
+ ("2024-02-10", "วันตรุษจีน"),
+ ("2024-03-28", "วันพฤหัสบดีศักดิ์สิทธิ์"),
+ ("2024-03-29", "วันศุกร์ประเสริฐ"),
+ ("2024-03-30", "วันเสาร์ศักดิ์สิทธิ์"),
+ ("2024-04-09", "วันแห่งความกล้าหาญ"),
+ ("2024-04-10", "วันอีฎิ้ลฟิตริ"),
+ ("2024-05-01", "วันแรงงาน"),
+ ("2024-06-12", "วันประกาศเอกราชสาธารณรัฐฟิลิปปินส์"),
+ ("2024-06-17", "วันอีดิ้ลอัฎฮา"),
+ ("2024-08-21", "วันนินอย อากีโน"),
+ ("2024-08-26", "วันวีรบุรุษแห่งชาติ"),
+ ("2024-11-01", "วันสมโภชนักบุญทั้งหลาย"),
+ ("2024-11-02", "วันหยุดพิเศษ (เพิ่มเติม)"),
+ ("2024-11-30", "วันโบนีฟาซีโอ"),
+ ("2024-12-08", "วันสมโภชแม่พระผู้ปฏิสนธินิรมล"),
+ ("2024-12-24", "วันหยุดพิเศษ (เพิ่มเติม)"),
+ ("2024-12-25", "วันคริสต์มาส"),
+ ("2024-12-30", "วันรีซัล"),
+ ("2024-12-31", "วันสิ้นปี"),
+ )
+
+ def test_l10n_tl(self):
+ self.assertLocalizedHolidays(
+ "tl",
+ ("2024-01-01", "Bagong Taon"),
+ ("2024-02-09", "Karagdagang espesyal (non-working) day"),
+ ("2024-02-10", "Bagong Taon ng mga Tsino"),
+ ("2024-03-28", "Huwebes Santo"),
+ ("2024-03-29", "Biyernes Santo"),
+ ("2024-03-30", "Sabado de Gloria"),
+ ("2024-04-09", "Araw ng Kagitingan"),
+ ("2024-04-10", "Eid al-Fitr"),
+ ("2024-05-01", "Araw ng Paggawa"),
+ ("2024-06-12", "Araw ng Kalayaan"),
+ ("2024-06-17", "Eid al-Adha"),
+ ("2024-08-21", "Araw ng Kabayanihan ni Ninoy Aquino"),
+ ("2024-08-26", "Araw ng mga Bayani"),
+ ("2024-11-01", "Araw ng mga Santo"),
+ ("2024-11-02", "Karagdagang espesyal (non-working) day"),
+ ("2024-11-30", "Araw ng Kabayanihan ni Bonifacio"),
+ (
+ "2024-12-08",
+ "Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria",
+ ),
+ ("2024-12-24", "Karagdagang espesyal (non-working) day"),
+ ("2024-12-25", "Pasko"),
+ ("2024-12-30", "Araw ng Kabayanihan ni Rizal"),
+ ("2024-12-31", "Bisperas ng Bagong Taon"),
+ )
From 965766385b3d6932423aecd9b25202735e6921ec Mon Sep 17 00:00:00 2001
From: PPsyrius <19505219+PPsyrius@users.noreply.github.com>
Date: Wed, 30 Oct 2024 15:01:49 +0700
Subject: [PATCH 2/7] Language-Team name standardization for loc files
---
holidays/locale/en_PH/LC_MESSAGES/PH.po | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/holidays/locale/en_PH/LC_MESSAGES/PH.po b/holidays/locale/en_PH/LC_MESSAGES/PH.po
index fd656d574..c8f14c23e 100644
--- a/holidays/locale/en_PH/LC_MESSAGES/PH.po
+++ b/holidays/locale/en_PH/LC_MESSAGES/PH.po
@@ -18,7 +18,7 @@ msgstr ""
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
"PO-Revision-Date: 2024-10-30 11:21+0700\n"
"Last-Translator: PPsyrius \n"
-"Language-Team: Holidays localization team\n"
+"Language-Team: Holidays Localization Team\n"
"Language: en_PH\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
From 95b169b1735b0c48230bf38b848d81f6a6571ca0 Mon Sep 17 00:00:00 2001
From: PPsyrius <19505219+PPsyrius@users.noreply.github.com>
Date: Thu, 31 Oct 2024 11:06:06 +0700
Subject: [PATCH 3/7] Tagalog-ized non-working day localizations
---
holidays/countries/philippines.py | 1 -
holidays/locale/tl/LC_MESSAGES/PH.po | 4 ++--
tests/countries/test_philippines.py | 6 +++---
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/holidays/countries/philippines.py b/holidays/countries/philippines.py
index 88007baee..852e39b1d 100644
--- a/holidays/countries/philippines.py
+++ b/holidays/countries/philippines.py
@@ -236,7 +236,6 @@ class PhilippinesIslamicHolidays(_CustomIslamicHolidays):
class PhilippinesStaticHolidays:
# Additional special (non-working) day.
additional_special = tr("Additional special (non-working) day")
-
# Elections special (non-working) day.
election_special = tr("Elections special (non-working) day")
diff --git a/holidays/locale/tl/LC_MESSAGES/PH.po b/holidays/locale/tl/LC_MESSAGES/PH.po
index bc6246836..e1e3c3575 100644
--- a/holidays/locale/tl/LC_MESSAGES/PH.po
+++ b/holidays/locale/tl/LC_MESSAGES/PH.po
@@ -105,11 +105,11 @@ msgstr "Eid al-Adha"
#. Additional special (non-working) day.
msgid "Additional special (non-working) day"
-msgstr "Karagdagang espesyal (non-working) day"
+msgstr "Karagdagang Espesyal na Araw (Walang Trabajo)"
#. Elections special (non-working) day.
msgid "Elections special (non-working) day"
-msgstr "Halalan espesyal (non-working) day"
+msgstr "Araw ng Halalan (Walang Trabajo)"
#. %s (estimated).
#, c-format
diff --git a/tests/countries/test_philippines.py b/tests/countries/test_philippines.py
index 71d82276b..2af7d1984 100644
--- a/tests/countries/test_philippines.py
+++ b/tests/countries/test_philippines.py
@@ -506,7 +506,7 @@ def test_l10n_tl(self):
self.assertLocalizedHolidays(
"tl",
("2024-01-01", "Bagong Taon"),
- ("2024-02-09", "Karagdagang espesyal (non-working) day"),
+ ("2024-02-09", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
("2024-02-10", "Bagong Taon ng mga Tsino"),
("2024-03-28", "Huwebes Santo"),
("2024-03-29", "Biyernes Santo"),
@@ -519,13 +519,13 @@ def test_l10n_tl(self):
("2024-08-21", "Araw ng Kabayanihan ni Ninoy Aquino"),
("2024-08-26", "Araw ng mga Bayani"),
("2024-11-01", "Araw ng mga Santo"),
- ("2024-11-02", "Karagdagang espesyal (non-working) day"),
+ ("2024-11-02", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
("2024-11-30", "Araw ng Kabayanihan ni Bonifacio"),
(
"2024-12-08",
"Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria",
),
- ("2024-12-24", "Karagdagang espesyal (non-working) day"),
+ ("2024-12-24", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
("2024-12-25", "Pasko"),
("2024-12-30", "Araw ng Kabayanihan ni Rizal"),
("2024-12-31", "Bisperas ng Bagong Taon"),
From 3fbe27d5d2eb426c7fe31ac5c0e214a69cac7728 Mon Sep 17 00:00:00 2001
From: PPsyrius <19505219+PPsyrius@users.noreply.github.com>
Date: Fri, 1 Nov 2024 00:50:18 +0700
Subject: [PATCH 4/7] [PH] implement suggestions, support for 2025
Co-Authored-By: ~Jhellico
---
README.rst | 2 +-
holidays/countries/philippines.py | 20 +++-
holidays/locale/en_PH/LC_MESSAGES/PH.po | 4 +-
holidays/locale/en_US/LC_MESSAGES/PH.po | 6 +-
holidays/locale/th/LC_MESSAGES/PH.po | 4 +-
holidays/locale/tl/LC_MESSAGES/PH.po | 4 +-
snapshots/countries/PH_COMMON.json | 126 ++++++++++++------------
tests/countries/test_philippines.py | 18 +++-
8 files changed, 105 insertions(+), 79 deletions(-)
diff --git a/README.rst b/README.rst
index 3a1d55f9a..ba102570e 100644
--- a/README.rst
+++ b/README.rst
@@ -749,7 +749,7 @@ All other default values are highlighted with bold:
- PH
-
- **en_PH**, en_US, th, tl
- -
+ - WORKDAY
* - Poland
- PL
-
diff --git a/holidays/countries/philippines.py b/holidays/countries/philippines.py
index 852e39b1d..5dc82ff29 100644
--- a/holidays/countries/philippines.py
+++ b/holidays/countries/philippines.py
@@ -14,6 +14,7 @@
from holidays.calendars import _CustomChineseHolidays, _CustomIslamicHolidays
from holidays.calendars.gregorian import JAN, FEB, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC
+from holidays.constants import PUBLIC, WORKDAY
from holidays.groups import (
ChineseCalendarHolidays,
ChristianHolidays,
@@ -43,10 +44,11 @@ class Philippines(
- `Republic Act No. 9492 `_
- `Republic Act No. 9849 `_
- `Republic Act No. 10966 `_
- - `Nationwide holidays 2018-2024 `_
+ - `Nationwide holidays 2018-2025 `_
"""
country = "PH"
+ supported_categories = (PUBLIC, WORKDAY)
default_language = "en_PH"
# %s (estimated).
estimated_label = tr("%s (estimated)")
@@ -71,7 +73,7 @@ def _populate_public_holidays(self):
# Chinese New Year.
self._add_chinese_new_years_day(tr("Chinese New Year"))
- if self._year >= 2016 and self._year not in {2017, 2024}:
+ if 2016 <= self._year <= 2023 and self._year != 2017:
dates_obs = {
2023: (FEB, 24),
}
@@ -94,6 +96,7 @@ def _populate_public_holidays(self):
dates_obs = {
2008: (APR, 7),
2009: (APR, 6),
+ 2023: (APR, 10),
}
# Day of Valor.
self._add_holiday(tr("Araw ng Kagitingan"), dates_obs.get(self._year, (APR, 9)))
@@ -149,7 +152,7 @@ def _populate_public_holidays(self):
self._add_holiday(tr("Rizal Day"), dates_obs.get(self._year, (DEC, 30)))
if self._year not in {2021, 2022}:
- # Last Day of the Year.
+ # New Year's Eve.
self._add_new_years_eve(tr("Last Day of the Year"))
if self._year >= 2002:
@@ -160,6 +163,13 @@ def _populate_public_holidays(self):
# Eid al-Adha.
self._add_eid_al_adha_day(tr("Eid'l Adha"))
+ def _populate_workday_holidays(self):
+ # Added from 2025 onwards as first decreed in
+ # https://www.officialgazette.gov.ph/downloads/2024/10oct/20241030-PROC-727-FRM.pdf
+ if self._year >= 2025:
+ # EDSA People Power Revolution Anniversary.
+ self._add_holiday_feb_25(tr("EDSA People Power Revolution Anniversary"))
+
class PH(Philippines):
pass
@@ -300,4 +310,8 @@ class PhilippinesStaticHolidays:
(NOV, 2, additional_special),
(DEC, 24, additional_special),
),
+ 2025: (
+ (OCT, 31, additional_special),
+ (DEC, 24, additional_special),
+ ),
}
diff --git a/holidays/locale/en_PH/LC_MESSAGES/PH.po b/holidays/locale/en_PH/LC_MESSAGES/PH.po
index c8f14c23e..b8bf32351 100644
--- a/holidays/locale/en_PH/LC_MESSAGES/PH.po
+++ b/holidays/locale/en_PH/LC_MESSAGES/PH.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.60\n"
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-10-30 11:21+0700\n"
+"PO-Revision-Date: 2024-11-01 00:39+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
"Language: en_PH\n"
@@ -90,7 +90,7 @@ msgstr ""
msgid "Rizal Day"
msgstr ""
-#. Last Day of the Year.
+#. New Year's Eve.
msgid "Last Day of the Year"
msgstr ""
diff --git a/holidays/locale/en_US/LC_MESSAGES/PH.po b/holidays/locale/en_US/LC_MESSAGES/PH.po
index ceea50a27..b9286a509 100644
--- a/holidays/locale/en_US/LC_MESSAGES/PH.po
+++ b/holidays/locale/en_US/LC_MESSAGES/PH.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.60\n"
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-10-30 11:21+0700\n"
+"PO-Revision-Date: 2024-11-01 00:39+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
"Language: tl\n"
@@ -90,9 +90,9 @@ msgstr "Christmas Day"
msgid "Rizal Day"
msgstr "Rizal Day"
-#. Last Day of the Year.
+#. New Year's Eve.
msgid "Last Day of the Year"
-msgstr "Last Day of the Year"
+msgstr "New Year's Eve"
#. Eid al-Fitr.
msgid "Eid'l Fitr"
diff --git a/holidays/locale/th/LC_MESSAGES/PH.po b/holidays/locale/th/LC_MESSAGES/PH.po
index b0a1cc525..5f4d7b55b 100644
--- a/holidays/locale/th/LC_MESSAGES/PH.po
+++ b/holidays/locale/th/LC_MESSAGES/PH.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.60\n"
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-10-30 11:21+0700\n"
+"PO-Revision-Date: 2024-11-01 00:39+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
"Language: th\n"
@@ -90,7 +90,7 @@ msgstr "วันคริสต์มาส"
msgid "Rizal Day"
msgstr "วันรีซัล"
-#. Last Day of the Year.
+#. New Year's Eve.
msgid "Last Day of the Year"
msgstr "วันสิ้นปี"
diff --git a/holidays/locale/tl/LC_MESSAGES/PH.po b/holidays/locale/tl/LC_MESSAGES/PH.po
index e1e3c3575..8ce86b81a 100644
--- a/holidays/locale/tl/LC_MESSAGES/PH.po
+++ b/holidays/locale/tl/LC_MESSAGES/PH.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.60\n"
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-10-30 11:21+0700\n"
+"PO-Revision-Date: 2024-11-01 00:39+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
"Language: tl\n"
@@ -91,7 +91,7 @@ msgstr "Pasko"
msgid "Rizal Day"
msgstr "Araw ng Kabayanihan ni Rizal"
-#. Last Day of the Year.
+#. New Year's Eve.
msgid "Last Day of the Year"
msgstr "Bisperas ng Bagong Taon"
diff --git a/snapshots/countries/PH_COMMON.json b/snapshots/countries/PH_COMMON.json
index 5668ea1e1..4da02ce22 100644
--- a/snapshots/countries/PH_COMMON.json
+++ b/snapshots/countries/PH_COMMON.json
@@ -10,7 +10,7 @@
"1988-11-30": "Bonifacio Day",
"1988-12-25": "Christmas Day",
"1988-12-30": "Rizal Day",
- "1988-12-31": "Last Day of the Year",
+ "1988-12-31": "New Year's Eve",
"1989-01-01": "New Year's Day",
"1989-03-23": "Maundy Thursday",
"1989-03-24": "Good Friday",
@@ -22,7 +22,7 @@
"1989-11-30": "Bonifacio Day",
"1989-12-25": "Christmas Day",
"1989-12-30": "Rizal Day",
- "1989-12-31": "Last Day of the Year",
+ "1989-12-31": "New Year's Eve",
"1990-01-01": "New Year's Day",
"1990-04-09": "Day of Valor",
"1990-04-12": "Maundy Thursday",
@@ -34,7 +34,7 @@
"1990-11-30": "Bonifacio Day",
"1990-12-25": "Christmas Day",
"1990-12-30": "Rizal Day",
- "1990-12-31": "Last Day of the Year",
+ "1990-12-31": "New Year's Eve",
"1991-01-01": "New Year's Day",
"1991-03-28": "Maundy Thursday",
"1991-03-29": "Good Friday",
@@ -46,7 +46,7 @@
"1991-11-30": "Bonifacio Day",
"1991-12-25": "Christmas Day",
"1991-12-30": "Rizal Day",
- "1991-12-31": "Last Day of the Year",
+ "1991-12-31": "New Year's Eve",
"1992-01-01": "New Year's Day",
"1992-04-09": "Day of Valor",
"1992-04-16": "Maundy Thursday",
@@ -58,7 +58,7 @@
"1992-11-30": "Bonifacio Day",
"1992-12-25": "Christmas Day",
"1992-12-30": "Rizal Day",
- "1992-12-31": "Last Day of the Year",
+ "1992-12-31": "New Year's Eve",
"1993-01-01": "New Year's Day",
"1993-04-08": "Maundy Thursday",
"1993-04-09": "Day of Valor; Good Friday",
@@ -69,7 +69,7 @@
"1993-11-30": "Bonifacio Day",
"1993-12-25": "Christmas Day",
"1993-12-30": "Rizal Day",
- "1993-12-31": "Last Day of the Year",
+ "1993-12-31": "New Year's Eve",
"1994-01-01": "New Year's Day",
"1994-03-31": "Maundy Thursday",
"1994-04-01": "Good Friday",
@@ -81,7 +81,7 @@
"1994-11-30": "Bonifacio Day",
"1994-12-25": "Christmas Day",
"1994-12-30": "Rizal Day",
- "1994-12-31": "Last Day of the Year",
+ "1994-12-31": "New Year's Eve",
"1995-01-01": "New Year's Day",
"1995-04-09": "Day of Valor",
"1995-04-13": "Maundy Thursday",
@@ -93,7 +93,7 @@
"1995-11-30": "Bonifacio Day",
"1995-12-25": "Christmas Day",
"1995-12-30": "Rizal Day",
- "1995-12-31": "Last Day of the Year",
+ "1995-12-31": "New Year's Eve",
"1996-01-01": "New Year's Day",
"1996-04-04": "Maundy Thursday",
"1996-04-05": "Good Friday",
@@ -105,7 +105,7 @@
"1996-11-30": "Bonifacio Day",
"1996-12-25": "Christmas Day",
"1996-12-30": "Rizal Day",
- "1996-12-31": "Last Day of the Year",
+ "1996-12-31": "New Year's Eve",
"1997-01-01": "New Year's Day",
"1997-03-27": "Maundy Thursday",
"1997-03-28": "Good Friday",
@@ -117,7 +117,7 @@
"1997-11-30": "Bonifacio Day",
"1997-12-25": "Christmas Day",
"1997-12-30": "Rizal Day",
- "1997-12-31": "Last Day of the Year",
+ "1997-12-31": "New Year's Eve",
"1998-01-01": "New Year's Day",
"1998-04-09": "Day of Valor; Maundy Thursday",
"1998-04-10": "Good Friday",
@@ -128,7 +128,7 @@
"1998-11-30": "Bonifacio Day",
"1998-12-25": "Christmas Day",
"1998-12-30": "Rizal Day",
- "1998-12-31": "Last Day of the Year",
+ "1998-12-31": "New Year's Eve",
"1999-01-01": "New Year's Day",
"1999-04-01": "Maundy Thursday",
"1999-04-02": "Good Friday",
@@ -140,7 +140,7 @@
"1999-11-30": "Bonifacio Day",
"1999-12-25": "Christmas Day",
"1999-12-30": "Rizal Day",
- "1999-12-31": "Last Day of the Year",
+ "1999-12-31": "New Year's Eve",
"2000-01-01": "New Year's Day",
"2000-04-09": "Day of Valor",
"2000-04-20": "Maundy Thursday",
@@ -152,7 +152,7 @@
"2000-11-30": "Bonifacio Day",
"2000-12-25": "Christmas Day",
"2000-12-30": "Rizal Day",
- "2000-12-31": "Last Day of the Year",
+ "2000-12-31": "New Year's Eve",
"2001-01-01": "New Year's Day",
"2001-04-09": "Day of Valor",
"2001-04-12": "Maundy Thursday",
@@ -164,7 +164,7 @@
"2001-11-30": "Bonifacio Day",
"2001-12-25": "Christmas Day",
"2001-12-30": "Rizal Day",
- "2001-12-31": "Last Day of the Year",
+ "2001-12-31": "New Year's Eve",
"2002-01-01": "New Year's Day",
"2002-03-28": "Maundy Thursday",
"2002-03-29": "Good Friday",
@@ -177,7 +177,7 @@
"2002-12-06": "Eid al-Fitr",
"2002-12-25": "Christmas Day",
"2002-12-30": "Rizal Day",
- "2002-12-31": "Last Day of the Year",
+ "2002-12-31": "New Year's Eve",
"2003-01-01": "New Year's Day",
"2003-04-09": "Day of Valor",
"2003-04-17": "Maundy Thursday",
@@ -190,7 +190,7 @@
"2003-11-30": "Bonifacio Day",
"2003-12-25": "Christmas Day",
"2003-12-30": "Rizal Day",
- "2003-12-31": "Last Day of the Year",
+ "2003-12-31": "New Year's Eve",
"2004-01-01": "New Year's Day",
"2004-04-08": "Maundy Thursday",
"2004-04-09": "Day of Valor; Good Friday",
@@ -203,7 +203,7 @@
"2004-11-30": "Bonifacio Day",
"2004-12-25": "Christmas Day",
"2004-12-30": "Rizal Day",
- "2004-12-31": "Last Day of the Year",
+ "2004-12-31": "New Year's Eve",
"2005-01-01": "New Year's Day",
"2005-03-24": "Maundy Thursday",
"2005-03-25": "Good Friday",
@@ -217,7 +217,7 @@
"2005-11-30": "Bonifacio Day",
"2005-12-25": "Christmas Day",
"2005-12-30": "Rizal Day",
- "2005-12-31": "Last Day of the Year",
+ "2005-12-31": "New Year's Eve",
"2006-01-01": "New Year's Day",
"2006-04-09": "Day of Valor",
"2006-04-13": "Maundy Thursday",
@@ -231,7 +231,7 @@
"2006-11-30": "Bonifacio Day",
"2006-12-25": "Christmas Day",
"2006-12-30": "Rizal Day",
- "2006-12-31": "Last Day of the Year",
+ "2006-12-31": "New Year's Eve",
"2007-01-01": "New Year's Day",
"2007-04-05": "Maundy Thursday",
"2007-04-06": "Good Friday",
@@ -245,7 +245,7 @@
"2007-11-30": "Bonifacio Day",
"2007-12-25": "Christmas Day",
"2007-12-30": "Rizal Day",
- "2007-12-31": "Last Day of the Year",
+ "2007-12-31": "New Year's Eve",
"2008-01-01": "New Year's Day",
"2008-03-20": "Maundy Thursday",
"2008-03-21": "Good Friday",
@@ -261,7 +261,7 @@
"2008-12-26": "Additional special (non-working) day",
"2008-12-29": "Additional special (non-working) day",
"2008-12-30": "Rizal Day",
- "2008-12-31": "Last Day of the Year",
+ "2008-12-31": "New Year's Eve",
"2009-01-01": "New Year's Day",
"2009-04-06": "Day of Valor",
"2009-04-09": "Maundy Thursday",
@@ -277,7 +277,7 @@
"2009-12-24": "Additional special (non-working) day",
"2009-12-25": "Christmas Day",
"2009-12-30": "Rizal Day",
- "2009-12-31": "Last Day of the Year",
+ "2009-12-31": "New Year's Eve",
"2010-01-01": "New Year's Day",
"2010-04-01": "Maundy Thursday",
"2010-04-02": "Good Friday",
@@ -293,7 +293,7 @@
"2010-12-24": "Additional special (non-working) day",
"2010-12-25": "Christmas Day",
"2010-12-27": "Rizal Day",
- "2010-12-31": "Last Day of the Year",
+ "2010-12-31": "New Year's Eve",
"2011-01-01": "New Year's Day",
"2011-04-09": "Day of Valor",
"2011-04-21": "Maundy Thursday",
@@ -308,7 +308,7 @@
"2011-11-30": "Bonifacio Day",
"2011-12-25": "Christmas Day",
"2011-12-30": "Rizal Day",
- "2011-12-31": "Last Day of the Year",
+ "2011-12-31": "New Year's Eve",
"2012-01-01": "New Year's Day",
"2012-01-23": "Chinese New Year",
"2012-04-05": "Maundy Thursday",
@@ -325,7 +325,7 @@
"2012-11-30": "Bonifacio Day",
"2012-12-25": "Christmas Day",
"2012-12-30": "Rizal Day",
- "2012-12-31": "Last Day of the Year",
+ "2012-12-31": "New Year's Eve",
"2013-01-01": "New Year's Day",
"2013-02-10": "Chinese New Year",
"2013-03-28": "Maundy Thursday",
@@ -344,7 +344,7 @@
"2013-12-24": "Additional special (non-working) day",
"2013-12-25": "Christmas Day",
"2013-12-30": "Rizal Day",
- "2013-12-31": "Last Day of the Year",
+ "2013-12-31": "New Year's Eve",
"2014-01-01": "New Year's Day",
"2014-01-31": "Chinese New Year",
"2014-04-09": "Day of Valor",
@@ -363,7 +363,7 @@
"2014-12-25": "Christmas Day",
"2014-12-26": "Additional special (non-working) day",
"2014-12-30": "Rizal Day",
- "2014-12-31": "Last Day of the Year",
+ "2014-12-31": "New Year's Eve",
"2015-01-01": "New Year's Day",
"2015-01-02": "Additional special (non-working) day",
"2015-02-19": "Chinese New Year",
@@ -382,7 +382,7 @@
"2015-12-24": "Additional special (non-working) day",
"2015-12-25": "Christmas Day",
"2015-12-30": "Rizal Day",
- "2015-12-31": "Last Day of the Year",
+ "2015-12-31": "New Year's Eve",
"2016-01-01": "New Year's Day",
"2016-01-02": "Additional special (non-working) day",
"2016-02-08": "Chinese New Year",
@@ -403,7 +403,7 @@
"2016-12-24": "Additional special (non-working) day",
"2016-12-25": "Christmas Day",
"2016-12-30": "Rizal Day",
- "2016-12-31": "Last Day of the Year",
+ "2016-12-31": "New Year's Eve",
"2017-01-01": "New Year's Day",
"2017-01-02": "Additional special (non-working) day",
"2017-01-28": "Chinese New Year",
@@ -422,7 +422,7 @@
"2017-11-30": "Bonifacio Day",
"2017-12-25": "Christmas Day",
"2017-12-30": "Rizal Day",
- "2017-12-31": "Last Day of the Year",
+ "2017-12-31": "New Year's Eve",
"2018-01-01": "New Year's Day",
"2018-02-16": "Chinese New Year",
"2018-02-25": "EDSA People Power Revolution Anniversary",
@@ -442,7 +442,7 @@
"2018-12-24": "Additional special (non-working) day",
"2018-12-25": "Christmas Day",
"2018-12-30": "Rizal Day",
- "2018-12-31": "Last Day of the Year",
+ "2018-12-31": "New Year's Eve",
"2019-01-01": "New Year's Day",
"2019-02-05": "Chinese New Year",
"2019-02-25": "EDSA People Power Revolution Anniversary",
@@ -464,7 +464,7 @@
"2019-12-24": "Additional special (non-working) day",
"2019-12-25": "Christmas Day",
"2019-12-30": "Rizal Day",
- "2019-12-31": "Last Day of the Year",
+ "2019-12-31": "New Year's Eve",
"2020-01-01": "New Year's Day",
"2020-01-25": "Chinese New Year",
"2020-02-25": "EDSA People Power Revolution Anniversary",
@@ -484,7 +484,7 @@
"2020-12-24": "Additional special (non-working) day",
"2020-12-25": "Christmas Day",
"2020-12-30": "Rizal Day",
- "2020-12-31": "Last Day of the Year",
+ "2020-12-31": "New Year's Eve",
"2021-01-01": "New Year's Day",
"2021-02-12": "Chinese New Year",
"2021-02-25": "EDSA People Power Revolution Anniversary",
@@ -529,7 +529,7 @@
"2023-04-06": "Maundy Thursday",
"2023-04-07": "Good Friday",
"2023-04-08": "Black Saturday",
- "2023-04-09": "Day of Valor",
+ "2023-04-10": "Day of Valor",
"2023-04-21": "Eid al-Fitr",
"2023-05-01": "Labor Day",
"2023-06-12": "Independence Day",
@@ -544,7 +544,7 @@
"2023-12-25": "Christmas Day",
"2023-12-26": "Additional special (non-working) day",
"2023-12-30": "Rizal Day",
- "2023-12-31": "Last Day of the Year",
+ "2023-12-31": "New Year's Eve",
"2024-01-01": "New Year's Day",
"2024-02-09": "Additional special (non-working) day",
"2024-02-10": "Chinese New Year",
@@ -565,7 +565,7 @@
"2024-12-24": "Additional special (non-working) day",
"2024-12-25": "Christmas Day",
"2024-12-30": "Rizal Day",
- "2024-12-31": "Last Day of the Year",
+ "2024-12-31": "New Year's Eve",
"2025-01-01": "New Year's Day",
"2025-01-29": "Chinese New Year",
"2025-02-25": "EDSA People Power Revolution Anniversary",
@@ -579,12 +579,14 @@
"2025-06-12": "Independence Day",
"2025-08-21": "Ninoy Aquino Day",
"2025-08-25": "National Heroes Day",
+ "2025-10-31": "Additional special (non-working) day",
"2025-11-01": "All Saints' Day",
"2025-11-30": "Bonifacio Day",
"2025-12-08": "Immaculate Conception",
+ "2025-12-24": "Additional special (non-working) day",
"2025-12-25": "Christmas Day",
"2025-12-30": "Rizal Day",
- "2025-12-31": "Last Day of the Year",
+ "2025-12-31": "New Year's Eve",
"2026-01-01": "New Year's Day",
"2026-02-17": "Chinese New Year",
"2026-02-25": "EDSA People Power Revolution Anniversary",
@@ -603,7 +605,7 @@
"2026-12-08": "Immaculate Conception",
"2026-12-25": "Christmas Day",
"2026-12-30": "Rizal Day",
- "2026-12-31": "Last Day of the Year",
+ "2026-12-31": "New Year's Eve",
"2027-01-01": "New Year's Day",
"2027-02-06": "Chinese New Year",
"2027-02-25": "EDSA People Power Revolution Anniversary",
@@ -622,7 +624,7 @@
"2027-12-08": "Immaculate Conception",
"2027-12-25": "Christmas Day",
"2027-12-30": "Rizal Day",
- "2027-12-31": "Last Day of the Year",
+ "2027-12-31": "New Year's Eve",
"2028-01-01": "New Year's Day",
"2028-01-26": "Chinese New Year",
"2028-02-25": "EDSA People Power Revolution Anniversary",
@@ -641,7 +643,7 @@
"2028-12-08": "Immaculate Conception",
"2028-12-25": "Christmas Day",
"2028-12-30": "Rizal Day",
- "2028-12-31": "Last Day of the Year",
+ "2028-12-31": "New Year's Eve",
"2029-01-01": "New Year's Day",
"2029-02-13": "Chinese New Year",
"2029-02-14": "Eid al-Fitr (estimated)",
@@ -660,7 +662,7 @@
"2029-12-08": "Immaculate Conception",
"2029-12-25": "Christmas Day",
"2029-12-30": "Rizal Day",
- "2029-12-31": "Last Day of the Year",
+ "2029-12-31": "New Year's Eve",
"2030-01-01": "New Year's Day",
"2030-02-03": "Chinese New Year",
"2030-02-04": "Eid al-Fitr (estimated)",
@@ -679,7 +681,7 @@
"2030-12-08": "Immaculate Conception",
"2030-12-25": "Christmas Day",
"2030-12-30": "Rizal Day",
- "2030-12-31": "Last Day of the Year",
+ "2030-12-31": "New Year's Eve",
"2031-01-01": "New Year's Day",
"2031-01-23": "Chinese New Year",
"2031-01-24": "Eid al-Fitr (estimated)",
@@ -698,7 +700,7 @@
"2031-12-08": "Immaculate Conception",
"2031-12-25": "Christmas Day",
"2031-12-30": "Rizal Day",
- "2031-12-31": "Last Day of the Year",
+ "2031-12-31": "New Year's Eve",
"2032-01-01": "New Year's Day",
"2032-01-14": "Eid al-Fitr (estimated)",
"2032-02-11": "Chinese New Year",
@@ -717,7 +719,7 @@
"2032-12-08": "Immaculate Conception",
"2032-12-25": "Christmas Day",
"2032-12-30": "Rizal Day",
- "2032-12-31": "Last Day of the Year",
+ "2032-12-31": "New Year's Eve",
"2033-01-01": "New Year's Day",
"2033-01-02": "Eid al-Fitr (estimated)",
"2033-01-31": "Chinese New Year",
@@ -737,7 +739,7 @@
"2033-12-23": "Eid al-Fitr (estimated)",
"2033-12-25": "Christmas Day",
"2033-12-30": "Rizal Day",
- "2033-12-31": "Last Day of the Year",
+ "2033-12-31": "New Year's Eve",
"2034-01-01": "New Year's Day",
"2034-02-19": "Chinese New Year",
"2034-02-25": "EDSA People Power Revolution Anniversary",
@@ -756,7 +758,7 @@
"2034-12-12": "Eid al-Fitr (estimated)",
"2034-12-25": "Christmas Day",
"2034-12-30": "Rizal Day",
- "2034-12-31": "Last Day of the Year",
+ "2034-12-31": "New Year's Eve",
"2035-01-01": "New Year's Day",
"2035-02-08": "Chinese New Year",
"2035-02-18": "Eid al-Adha (estimated)",
@@ -775,7 +777,7 @@
"2035-12-08": "Immaculate Conception",
"2035-12-25": "Christmas Day",
"2035-12-30": "Rizal Day",
- "2035-12-31": "Last Day of the Year",
+ "2035-12-31": "New Year's Eve",
"2036-01-01": "New Year's Day",
"2036-01-28": "Chinese New Year",
"2036-02-07": "Eid al-Adha (estimated)",
@@ -794,7 +796,7 @@
"2036-12-08": "Immaculate Conception",
"2036-12-25": "Christmas Day",
"2036-12-30": "Rizal Day",
- "2036-12-31": "Last Day of the Year",
+ "2036-12-31": "New Year's Eve",
"2037-01-01": "New Year's Day",
"2037-01-26": "Eid al-Adha (estimated)",
"2037-02-15": "Chinese New Year",
@@ -813,7 +815,7 @@
"2037-12-08": "Immaculate Conception",
"2037-12-25": "Christmas Day",
"2037-12-30": "Rizal Day",
- "2037-12-31": "Last Day of the Year",
+ "2037-12-31": "New Year's Eve",
"2038-01-01": "New Year's Day",
"2038-01-16": "Eid al-Adha (estimated)",
"2038-02-04": "Chinese New Year",
@@ -832,7 +834,7 @@
"2038-12-08": "Immaculate Conception",
"2038-12-25": "Christmas Day",
"2038-12-30": "Rizal Day",
- "2038-12-31": "Last Day of the Year",
+ "2038-12-31": "New Year's Eve",
"2039-01-01": "New Year's Day",
"2039-01-05": "Eid al-Adha (estimated)",
"2039-01-24": "Chinese New Year",
@@ -851,7 +853,7 @@
"2039-12-25": "Christmas Day",
"2039-12-26": "Eid al-Adha (estimated)",
"2039-12-30": "Rizal Day",
- "2039-12-31": "Last Day of the Year",
+ "2039-12-31": "New Year's Eve",
"2040-01-01": "New Year's Day",
"2040-02-12": "Chinese New Year",
"2040-02-25": "EDSA People Power Revolution Anniversary",
@@ -870,7 +872,7 @@
"2040-12-14": "Eid al-Adha (estimated)",
"2040-12-25": "Christmas Day",
"2040-12-30": "Rizal Day",
- "2040-12-31": "Last Day of the Year",
+ "2040-12-31": "New Year's Eve",
"2041-01-01": "New Year's Day",
"2041-02-01": "Chinese New Year",
"2041-02-25": "EDSA People Power Revolution Anniversary",
@@ -889,7 +891,7 @@
"2041-12-08": "Immaculate Conception",
"2041-12-25": "Christmas Day",
"2041-12-30": "Rizal Day",
- "2041-12-31": "Last Day of the Year",
+ "2041-12-31": "New Year's Eve",
"2042-01-01": "New Year's Day",
"2042-01-22": "Chinese New Year",
"2042-02-25": "EDSA People Power Revolution Anniversary",
@@ -908,7 +910,7 @@
"2042-12-08": "Immaculate Conception",
"2042-12-25": "Christmas Day",
"2042-12-30": "Rizal Day",
- "2042-12-31": "Last Day of the Year",
+ "2042-12-31": "New Year's Eve",
"2043-01-01": "New Year's Day",
"2043-02-10": "Chinese New Year",
"2043-02-25": "EDSA People Power Revolution Anniversary",
@@ -927,7 +929,7 @@
"2043-12-08": "Immaculate Conception",
"2043-12-25": "Christmas Day",
"2043-12-30": "Rizal Day",
- "2043-12-31": "Last Day of the Year",
+ "2043-12-31": "New Year's Eve",
"2044-01-01": "New Year's Day",
"2044-01-30": "Chinese New Year",
"2044-02-25": "EDSA People Power Revolution Anniversary",
@@ -946,7 +948,7 @@
"2044-12-08": "Immaculate Conception",
"2044-12-25": "Christmas Day",
"2044-12-30": "Rizal Day",
- "2044-12-31": "Last Day of the Year",
+ "2044-12-31": "New Year's Eve",
"2045-01-01": "New Year's Day",
"2045-02-17": "Chinese New Year",
"2045-02-25": "EDSA People Power Revolution Anniversary",
@@ -965,7 +967,7 @@
"2045-12-08": "Immaculate Conception",
"2045-12-25": "Christmas Day",
"2045-12-30": "Rizal Day",
- "2045-12-31": "Last Day of the Year",
+ "2045-12-31": "New Year's Eve",
"2046-01-01": "New Year's Day",
"2046-02-06": "Chinese New Year",
"2046-02-25": "EDSA People Power Revolution Anniversary",
@@ -984,7 +986,7 @@
"2046-12-08": "Immaculate Conception",
"2046-12-25": "Christmas Day",
"2046-12-30": "Rizal Day",
- "2046-12-31": "Last Day of the Year",
+ "2046-12-31": "New Year's Eve",
"2047-01-01": "New Year's Day",
"2047-01-26": "Chinese New Year",
"2047-02-25": "EDSA People Power Revolution Anniversary",
@@ -1003,7 +1005,7 @@
"2047-12-08": "Immaculate Conception",
"2047-12-25": "Christmas Day",
"2047-12-30": "Rizal Day",
- "2047-12-31": "Last Day of the Year",
+ "2047-12-31": "New Year's Eve",
"2048-01-01": "New Year's Day",
"2048-02-14": "Chinese New Year",
"2048-02-25": "EDSA People Power Revolution Anniversary",
@@ -1022,7 +1024,7 @@
"2048-12-08": "Immaculate Conception",
"2048-12-25": "Christmas Day",
"2048-12-30": "Rizal Day",
- "2048-12-31": "Last Day of the Year",
+ "2048-12-31": "New Year's Eve",
"2049-01-01": "New Year's Day",
"2049-02-02": "Chinese New Year",
"2049-02-25": "EDSA People Power Revolution Anniversary",
@@ -1041,7 +1043,7 @@
"2049-12-08": "Immaculate Conception",
"2049-12-25": "Christmas Day",
"2049-12-30": "Rizal Day",
- "2049-12-31": "Last Day of the Year",
+ "2049-12-31": "New Year's Eve",
"2050-01-01": "New Year's Day",
"2050-01-23": "Chinese New Year",
"2050-02-25": "EDSA People Power Revolution Anniversary",
@@ -1059,5 +1061,5 @@
"2050-12-08": "Immaculate Conception",
"2050-12-25": "Christmas Day",
"2050-12-30": "Rizal Day",
- "2050-12-31": "Last Day of the Year"
+ "2050-12-31": "New Year's Eve"
}
diff --git a/tests/countries/test_philippines.py b/tests/countries/test_philippines.py
index 2af7d1984..5b538852e 100644
--- a/tests/countries/test_philippines.py
+++ b/tests/countries/test_philippines.py
@@ -12,6 +12,7 @@
from unittest import TestCase
+from holidays.constants import WORKDAY
from holidays.countries.philippines import Philippines, PH, PHL
from tests.common import CommonCountryTests
@@ -26,6 +27,7 @@ def test_country_aliases(self):
def test_no_holidays(self):
self.assertNoHolidays(Philippines(years=1987))
+ self.assertNoHolidays(Philippines(years=2024, categories=WORKDAY))
def test_special_holidays(self):
self.assertHoliday(
@@ -91,10 +93,16 @@ def test_edsa_revolution(self):
name = "EDSA People Power Revolution Anniversary"
self.assertHolidayName(
name,
- (f"{year}-02-25" for year in [*range(2018, 2023), *range(2025, 2050)]),
+ (f"{year}-02-25" for year in range(2018, 2023)),
"2016-02-25",
"2023-02-24",
)
+ self.assertHolidayName(
+ name,
+ Philippines(categories=WORKDAY, years=range(2025, 2050)),
+ (f"{year}-02-25" for year in range(2025, 2050)),
+ )
+ self.assertNoHolidayName(name, range(1988, 2016), 2017, range(2024, 2050))
def test_maundy_thursday(self):
name = "Maundy Thursday"
@@ -147,11 +155,13 @@ def test_black_saturday(self):
def test_day_of_valor(self):
name = "Araw ng Kagitingan"
+ years_non_apr_9 = {2008, 2009, 2023}
self.assertHolidayName(
name,
- (f"{year}-04-09" for year in [*range(1988, 2008), *range(2010, 2050)]),
+ (f"{year}-04-09" for year in set(range(1988, 2050)) - years_non_apr_9),
"2008-04-07",
"2009-04-06",
+ "2023-04-10",
)
def test_labor_day(self):
@@ -407,7 +417,7 @@ def test_2023(self):
("2023-04-06", "Maundy Thursday"),
("2023-04-07", "Good Friday"),
("2023-04-08", "Black Saturday"),
- ("2023-04-09", "Araw ng Kagitingan"),
+ ("2023-04-10", "Araw ng Kagitingan"),
("2023-04-21", "Eid'l Fitr"),
("2023-05-01", "Labor Day"),
("2023-06-12", "Independence Day"),
@@ -473,7 +483,7 @@ def test_l10n_en_us(self):
("2024-12-24", "Additional special (non-working) day"),
("2024-12-25", "Christmas Day"),
("2024-12-30", "Rizal Day"),
- ("2024-12-31", "Last Day of the Year"),
+ ("2024-12-31", "New Year's Eve"),
)
def test_l10n_th(self):
From 5189723071d65ca6e6f1e4ab6f3420bdc2e4173e Mon Sep 17 00:00:00 2001
From: PPsyrius <19505219+PPsyrius@users.noreply.github.com>
Date: Fri, 1 Nov 2024 10:09:21 +0700
Subject: [PATCH 5/7] [PH] add `fil` as alternative ref to `tl` l10n
---
README.rst | 2 +-
holidays/countries/philippines.py | 2 +-
holidays/locale/fil/LC_MESSAGES/PH.po | 116 ++++++++++++++++++++++++++
tests/countries/test_philippines.py | 29 +++++++
4 files changed, 147 insertions(+), 2 deletions(-)
create mode 100644 holidays/locale/fil/LC_MESSAGES/PH.po
diff --git a/README.rst b/README.rst
index ba102570e..14bcb78e0 100644
--- a/README.rst
+++ b/README.rst
@@ -748,7 +748,7 @@ All other default values are highlighted with bold:
* - Philippines
- PH
-
- - **en_PH**, en_US, th, tl
+ - **en_PH**, en_US, fil, th, tl
- WORKDAY
* - Poland
- PL
diff --git a/holidays/countries/philippines.py b/holidays/countries/philippines.py
index 5dc82ff29..b4735e96f 100644
--- a/holidays/countries/philippines.py
+++ b/holidays/countries/philippines.py
@@ -52,7 +52,7 @@ class Philippines(
default_language = "en_PH"
# %s (estimated).
estimated_label = tr("%s (estimated)")
- supported_languages = ("en_PH", "en_US", "th", "tl")
+ supported_languages = ("en_PH", "en_US", "fil", "th", "tl")
def __init__(self, *args, **kwargs):
ChineseCalendarHolidays.__init__(self, cls=PhilippinesChineseHolidays)
diff --git a/holidays/locale/fil/LC_MESSAGES/PH.po b/holidays/locale/fil/LC_MESSAGES/PH.po
new file mode 100644
index 000000000..91625a500
--- /dev/null
+++ b/holidays/locale/fil/LC_MESSAGES/PH.po
@@ -0,0 +1,116 @@
+# holidays
+# --------
+# A fast, efficient Python library for generating country, province and state
+# specific sets of holidays on the fly. It aims to make determining whether a
+# specific date is a holiday as fast and flexible as possible.
+#
+# Authors: Vacanza Team and individual contributors (see AUTHORS file)
+# dr-prodigy (c) 2017-2023
+# ryanss (c) 2014-2017
+# Website: https://github.com/vacanza/holidays
+# License: MIT (see LICENSE file)
+#
+# The Philippines holidays fil localization.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Holidays 0.60\n"
+"POT-Creation-Date: 2024-10-30 02:45+0700\n"
+"PO-Revision-Date: 2024-11-01 10:09+0700\n"
+"Last-Translator: PPsyrius \n"
+"Language-Team: Holidays Localization Team\n"
+"Language: fil\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Lingva 5.0.3\n"
+"X-Generator: Poedit 3.5\n"
+
+#. New Year's Day.
+msgid "New Year's Day"
+msgstr "Bagong Taon"
+
+#. Chinese New Year.
+msgid "Chinese New Year"
+msgstr "Bagong Taon ng mga Tsino"
+
+#. EDSA People Power Revolution Anniversary.
+msgid "EDSA People Power Revolution Anniversary"
+msgstr "Anibersaryo ng Rebolusyon sa EDSA"
+
+#. Maundy Thursday.
+msgid "Maundy Thursday"
+msgstr "Huwebes Santo"
+
+#. Good Friday.
+msgid "Good Friday"
+msgstr "Biyernes Santo"
+
+#. Black Saturday.
+msgid "Black Saturday"
+msgstr "Sabado de Gloria"
+
+#. Day of Valor.
+msgid "Araw ng Kagitingan"
+msgstr "Araw ng Kagitingan"
+
+#. Labor Day.
+msgid "Labor Day"
+msgstr "Araw ng Paggawa"
+
+#. Independence Day.
+msgid "Independence Day"
+msgstr "Araw ng Kalayaan"
+
+#. Ninoy Aquino Day.
+msgid "Ninoy Aquino Day"
+msgstr "Araw ng Kabayanihan ni Ninoy Aquino"
+
+#. National Heroes Day.
+msgid "National Heroes Day"
+msgstr "Araw ng mga Bayani"
+
+#. All Saints' Day.
+msgid "All Saints' Day"
+msgstr "Araw ng mga Santo"
+
+#. Bonifacio Day.
+msgid "Bonifacio Day"
+msgstr "Araw ng Kabayanihan ni Bonifacio"
+
+#. Immaculate Conception.
+msgid "Feast of the Immaculate Conception of Mary"
+msgstr "Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria"
+
+#. Christmas Day.
+msgid "Christmas Day"
+msgstr "Pasko"
+
+#. Rizal Day.
+msgid "Rizal Day"
+msgstr "Araw ng Kabayanihan ni Rizal"
+
+#. New Year's Eve.
+msgid "Last Day of the Year"
+msgstr "Bisperas ng Bagong Taon"
+
+#. Eid al-Fitr.
+msgid "Eid'l Fitr"
+msgstr "Eid al-Fitr"
+
+#. Eid al-Adha.
+msgid "Eid'l Adha"
+msgstr "Eid al-Adha"
+
+#. Additional special (non-working) day.
+msgid "Additional special (non-working) day"
+msgstr "Karagdagang Espesyal na Araw (Walang Trabajo)"
+
+#. Elections special (non-working) day.
+msgid "Elections special (non-working) day"
+msgstr "Araw ng Halalan (Walang Trabajo)"
+
+#. %s (estimated).
+#, c-format
+msgid "%s (estimated)"
+msgstr "%s (tinatayang)"
diff --git a/tests/countries/test_philippines.py b/tests/countries/test_philippines.py
index 5b538852e..0cddfbf14 100644
--- a/tests/countries/test_philippines.py
+++ b/tests/countries/test_philippines.py
@@ -486,6 +486,35 @@ def test_l10n_en_us(self):
("2024-12-31", "New Year's Eve"),
)
+ def test_l10n_fil(self):
+ self.assertLocalizedHolidays(
+ "fil",
+ ("2024-01-01", "Bagong Taon"),
+ ("2024-02-09", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
+ ("2024-02-10", "Bagong Taon ng mga Tsino"),
+ ("2024-03-28", "Huwebes Santo"),
+ ("2024-03-29", "Biyernes Santo"),
+ ("2024-03-30", "Sabado de Gloria"),
+ ("2024-04-09", "Araw ng Kagitingan"),
+ ("2024-04-10", "Eid al-Fitr"),
+ ("2024-05-01", "Araw ng Paggawa"),
+ ("2024-06-12", "Araw ng Kalayaan"),
+ ("2024-06-17", "Eid al-Adha"),
+ ("2024-08-21", "Araw ng Kabayanihan ni Ninoy Aquino"),
+ ("2024-08-26", "Araw ng mga Bayani"),
+ ("2024-11-01", "Araw ng mga Santo"),
+ ("2024-11-02", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
+ ("2024-11-30", "Araw ng Kabayanihan ni Bonifacio"),
+ (
+ "2024-12-08",
+ "Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria",
+ ),
+ ("2024-12-24", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
+ ("2024-12-25", "Pasko"),
+ ("2024-12-30", "Araw ng Kabayanihan ni Rizal"),
+ ("2024-12-31", "Bisperas ng Bagong Taon"),
+ )
+
def test_l10n_th(self):
self.assertLocalizedHolidays(
"th",
From 7ea44561bee9c911cde657c9ad6bff4d71f977a1 Mon Sep 17 00:00:00 2001
From: PPsyrius <19505219+PPsyrius@users.noreply.github.com>
Date: Sat, 2 Nov 2024 01:58:45 +0700
Subject: [PATCH 6/7] [PH] remove redundant `tl` l10n, 2025 update (again),
2023 fix
---
README.rst | 2 +-
holidays/countries/philippines.py | 20 +++-
holidays/locale/en_PH/LC_MESSAGES/PH.po | 14 ++-
holidays/locale/en_US/LC_MESSAGES/PH.po | 14 ++-
holidays/locale/fil/LC_MESSAGES/PH.po | 17 +++-
holidays/locale/th/LC_MESSAGES/PH.po | 14 ++-
holidays/locale/tl/LC_MESSAGES/PH.po | 117 ------------------------
snapshots/countries/PH_COMMON.json | 48 +++++++++-
tests/countries/test_philippines.py | 89 ++++++++++--------
9 files changed, 170 insertions(+), 165 deletions(-)
delete mode 100644 holidays/locale/tl/LC_MESSAGES/PH.po
diff --git a/README.rst b/README.rst
index 14bcb78e0..61a7a7927 100644
--- a/README.rst
+++ b/README.rst
@@ -748,7 +748,7 @@ All other default values are highlighted with bold:
* - Philippines
- PH
-
- - **en_PH**, en_US, fil, th, tl
+ - **en_PH**, en_US, fil, th
- WORKDAY
* - Poland
- PL
diff --git a/holidays/countries/philippines.py b/holidays/countries/philippines.py
index b4735e96f..769fc9e38 100644
--- a/holidays/countries/philippines.py
+++ b/holidays/countries/philippines.py
@@ -42,8 +42,13 @@ class Philippines(
- `Republic Act No. 9177 `_
- `Republic Act No. 9256 `_
- `Republic Act No. 9492 `_
+ - `Republic Act No. 9645 `_
- `Republic Act No. 9849 `_
- `Republic Act No. 10966 `_
+ - `Proclamation No. 944/2020` `_
+ - `Proclamation No. 985/2020` `_
+ - `Proclamation No. 665/2024` `_
+ - `Proclamation No. 729/2024` `_
- `Nationwide holidays 2018-2025 `_
"""
@@ -52,7 +57,7 @@ class Philippines(
default_language = "en_PH"
# %s (estimated).
estimated_label = tr("%s (estimated)")
- supported_languages = ("en_PH", "en_US", "fil", "th", "tl")
+ supported_languages = ("en_PH", "en_US", "fil", "th")
def __init__(self, *args, **kwargs):
ChineseCalendarHolidays.__init__(self, cls=PhilippinesChineseHolidays)
@@ -117,6 +122,7 @@ def _populate_public_holidays(self):
2007: (AUG, 20),
2008: (AUG, 18),
2010: (AUG, 23),
+ 2024: (AUG, 23),
}
# Ninoy Aquino Day.
self._add_holiday(tr("Ninoy Aquino Day"), dates_obs.get(self._year, (AUG, 21)))
@@ -164,6 +170,11 @@ def _populate_public_holidays(self):
self._add_eid_al_adha_day(tr("Eid'l Adha"))
def _populate_workday_holidays(self):
+ # Added in 2009, get special non-working day status in 2025:
+ if self._year >= 2009 and self._year != 2025:
+ # Founding Anniversary of Iglesia ni Cristo.
+ self._add_holiday_jul_27(tr("Founding Anniversary of Iglesia ni Cristo"))
+
# Added from 2025 onwards as first decreed in
# https://www.officialgazette.gov.ph/downloads/2024/10oct/20241030-PROC-727-FRM.pdf
if self._year >= 2025:
@@ -311,7 +322,10 @@ class PhilippinesStaticHolidays:
(DEC, 24, additional_special),
),
2025: (
- (OCT, 31, additional_special),
- (DEC, 24, additional_special),
+ (JUL, 27, additional_special),
+ # All Saints' Day Eve.
+ (OCT, 31, tr("All Saints' Day Eve")),
+ # Christmas Eve.
+ (DEC, 24, tr("Christmas Eve")),
),
}
diff --git a/holidays/locale/en_PH/LC_MESSAGES/PH.po b/holidays/locale/en_PH/LC_MESSAGES/PH.po
index b8bf32351..265d1209d 100644
--- a/holidays/locale/en_PH/LC_MESSAGES/PH.po
+++ b/holidays/locale/en_PH/LC_MESSAGES/PH.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.60\n"
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-11-01 00:39+0700\n"
+"PO-Revision-Date: 2024-11-02 01:47+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
"Language: en_PH\n"
@@ -62,6 +62,10 @@ msgstr ""
msgid "Independence Day"
msgstr ""
+#. Founding Anniversary of Iglesia ni Cristo.
+msgid "Founding Anniversary of Iglesia ni Cristo"
+msgstr ""
+
#. Ninoy Aquino Day.
msgid "Ninoy Aquino Day"
msgstr ""
@@ -70,6 +74,10 @@ msgstr ""
msgid "National Heroes Day"
msgstr ""
+#. All Saints' Day Eve.
+msgid "All Saints' Day Eve"
+msgstr ""
+
#. All Saints' Day.
msgid "All Saints' Day"
msgstr ""
@@ -82,6 +90,10 @@ msgstr ""
msgid "Feast of the Immaculate Conception of Mary"
msgstr ""
+#. Christmas Eve.
+msgid "Christmas Eve"
+msgstr ""
+
#. Christmas Day.
msgid "Christmas Day"
msgstr ""
diff --git a/holidays/locale/en_US/LC_MESSAGES/PH.po b/holidays/locale/en_US/LC_MESSAGES/PH.po
index b9286a509..9982f770a 100644
--- a/holidays/locale/en_US/LC_MESSAGES/PH.po
+++ b/holidays/locale/en_US/LC_MESSAGES/PH.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.60\n"
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-11-01 00:39+0700\n"
+"PO-Revision-Date: 2024-11-02 01:48+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
"Language: tl\n"
@@ -62,6 +62,10 @@ msgstr "Labor Day"
msgid "Independence Day"
msgstr "Independence Day"
+#. Founding Anniversary of Iglesia ni Cristo.
+msgid "Founding Anniversary of Iglesia ni Cristo"
+msgstr "Founding Anniversary of Iglesia ni Cristo"
+
#. Ninoy Aquino Day.
msgid "Ninoy Aquino Day"
msgstr "Ninoy Aquino Day"
@@ -70,6 +74,10 @@ msgstr "Ninoy Aquino Day"
msgid "National Heroes Day"
msgstr "National Heroes Day"
+#. All Saints' Day Eve.
+msgid "All Saints' Day Eve"
+msgstr "All Saints' Day Eve"
+
#. All Saints' Day.
msgid "All Saints' Day"
msgstr "All Saints' Day"
@@ -86,6 +94,10 @@ msgstr "Immaculate Conception"
msgid "Christmas Day"
msgstr "Christmas Day"
+#. Christmas Eve.
+msgid "Christmas Eve"
+msgstr "Christmas Eve"
+
#. Rizal Day.
msgid "Rizal Day"
msgstr "Rizal Day"
diff --git a/holidays/locale/fil/LC_MESSAGES/PH.po b/holidays/locale/fil/LC_MESSAGES/PH.po
index 91625a500..08fd8a1c4 100644
--- a/holidays/locale/fil/LC_MESSAGES/PH.po
+++ b/holidays/locale/fil/LC_MESSAGES/PH.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.60\n"
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-11-01 10:09+0700\n"
+"PO-Revision-Date: 2024-11-02 01:48+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
"Language: fil\n"
@@ -62,6 +62,10 @@ msgstr "Araw ng Paggawa"
msgid "Independence Day"
msgstr "Araw ng Kalayaan"
+#. Founding Anniversary of Iglesia ni Cristo.
+msgid "Founding Anniversary of Iglesia ni Cristo"
+msgstr "Anibersaryo ng Pagkatatag ng Iglesia ni Cristo"
+
#. Ninoy Aquino Day.
msgid "Ninoy Aquino Day"
msgstr "Araw ng Kabayanihan ni Ninoy Aquino"
@@ -70,6 +74,10 @@ msgstr "Araw ng Kabayanihan ni Ninoy Aquino"
msgid "National Heroes Day"
msgstr "Araw ng mga Bayani"
+#. All Saints' Day Eve.
+msgid "All Saints' Day Eve"
+msgstr "Bisperas ng Araw ng mga Santo"
+
#. All Saints' Day.
msgid "All Saints' Day"
msgstr "Araw ng mga Santo"
@@ -80,7 +88,12 @@ msgstr "Araw ng Kabayanihan ni Bonifacio"
#. Immaculate Conception.
msgid "Feast of the Immaculate Conception of Mary"
-msgstr "Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria"
+msgstr ""
+"Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria"
+
+#. Christmas Eve.
+msgid "Christmas Eve"
+msgstr "Bisperas ng Pasko"
#. Christmas Day.
msgid "Christmas Day"
diff --git a/holidays/locale/th/LC_MESSAGES/PH.po b/holidays/locale/th/LC_MESSAGES/PH.po
index 5f4d7b55b..e5d3f1c04 100644
--- a/holidays/locale/th/LC_MESSAGES/PH.po
+++ b/holidays/locale/th/LC_MESSAGES/PH.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.60\n"
"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-11-01 00:39+0700\n"
+"PO-Revision-Date: 2024-11-02 01:48+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
"Language: th\n"
@@ -62,6 +62,10 @@ msgstr "วันแรงงาน"
msgid "Independence Day"
msgstr "วันประกาศเอกราชสาธารณรัฐฟิลิปปินส์"
+#. Founding Anniversary of Iglesia ni Cristo.
+msgid "Founding Anniversary of Iglesia ni Cristo"
+msgstr "วันครบรอบการสถาปนานิกายคริสตจักรของพระคริสต์"
+
#. Ninoy Aquino Day.
msgid "Ninoy Aquino Day"
msgstr "วันนินอย อากีโน"
@@ -70,6 +74,10 @@ msgstr "วันนินอย อากีโน"
msgid "National Heroes Day"
msgstr "วันวีรบุรุษแห่งชาติ"
+#. All Saints' Day Eve.
+msgid "All Saints' Day Eve"
+msgstr "วันก่อนวันสมโภชนักบุญทั้งหลาย"
+
#. All Saints' Day.
msgid "All Saints' Day"
msgstr "วันสมโภชนักบุญทั้งหลาย"
@@ -86,6 +94,10 @@ msgstr "วันสมโภชแม่พระผู้ปฏิสนธิ
msgid "Christmas Day"
msgstr "วันคริสต์มาส"
+#. Christmas Eve.
+msgid "Christmas Eve"
+msgstr "วันคริสต์มาสอีฟ"
+
#. Rizal Day.
msgid "Rizal Day"
msgstr "วันรีซัล"
diff --git a/holidays/locale/tl/LC_MESSAGES/PH.po b/holidays/locale/tl/LC_MESSAGES/PH.po
deleted file mode 100644
index 8ce86b81a..000000000
--- a/holidays/locale/tl/LC_MESSAGES/PH.po
+++ /dev/null
@@ -1,117 +0,0 @@
-# holidays
-# --------
-# A fast, efficient Python library for generating country, province and state
-# specific sets of holidays on the fly. It aims to make determining whether a
-# specific date is a holiday as fast and flexible as possible.
-#
-# Authors: Vacanza Team and individual contributors (see AUTHORS file)
-# dr-prodigy (c) 2017-2023
-# ryanss (c) 2014-2017
-# Website: https://github.com/vacanza/holidays
-# License: MIT (see LICENSE file)
-#
-# The Philippines holidays tl localization.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Holidays 0.60\n"
-"POT-Creation-Date: 2024-10-30 02:45+0700\n"
-"PO-Revision-Date: 2024-11-01 00:39+0700\n"
-"Last-Translator: PPsyrius \n"
-"Language-Team: Holidays Localization Team\n"
-"Language: tl\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Lingva 5.0.3\n"
-"X-Generator: Poedit 3.5\n"
-
-#. New Year's Day.
-msgid "New Year's Day"
-msgstr "Bagong Taon"
-
-#. Chinese New Year.
-msgid "Chinese New Year"
-msgstr "Bagong Taon ng mga Tsino"
-
-#. EDSA People Power Revolution Anniversary.
-msgid "EDSA People Power Revolution Anniversary"
-msgstr "Anibersaryo ng Rebolusyon sa EDSA"
-
-#. Maundy Thursday.
-msgid "Maundy Thursday"
-msgstr "Huwebes Santo"
-
-#. Good Friday.
-msgid "Good Friday"
-msgstr "Biyernes Santo"
-
-#. Black Saturday.
-msgid "Black Saturday"
-msgstr "Sabado de Gloria"
-
-#. Day of Valor.
-msgid "Araw ng Kagitingan"
-msgstr "Araw ng Kagitingan"
-
-#. Labor Day.
-msgid "Labor Day"
-msgstr "Araw ng Paggawa"
-
-#. Independence Day.
-msgid "Independence Day"
-msgstr "Araw ng Kalayaan"
-
-#. Ninoy Aquino Day.
-msgid "Ninoy Aquino Day"
-msgstr "Araw ng Kabayanihan ni Ninoy Aquino"
-
-#. National Heroes Day.
-msgid "National Heroes Day"
-msgstr "Araw ng mga Bayani"
-
-#. All Saints' Day.
-msgid "All Saints' Day"
-msgstr "Araw ng mga Santo"
-
-#. Bonifacio Day.
-msgid "Bonifacio Day"
-msgstr "Araw ng Kabayanihan ni Bonifacio"
-
-#. Immaculate Conception.
-msgid "Feast of the Immaculate Conception of Mary"
-msgstr ""
-"Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria"
-
-#. Christmas Day.
-msgid "Christmas Day"
-msgstr "Pasko"
-
-#. Rizal Day.
-msgid "Rizal Day"
-msgstr "Araw ng Kabayanihan ni Rizal"
-
-#. New Year's Eve.
-msgid "Last Day of the Year"
-msgstr "Bisperas ng Bagong Taon"
-
-#. Eid al-Fitr.
-msgid "Eid'l Fitr"
-msgstr "Eid al-Fitr"
-
-#. Eid al-Adha.
-msgid "Eid'l Adha"
-msgstr "Eid al-Adha"
-
-#. Additional special (non-working) day.
-msgid "Additional special (non-working) day"
-msgstr "Karagdagang Espesyal na Araw (Walang Trabajo)"
-
-#. Elections special (non-working) day.
-msgid "Elections special (non-working) day"
-msgstr "Araw ng Halalan (Walang Trabajo)"
-
-#. %s (estimated).
-#, c-format
-msgid "%s (estimated)"
-msgstr "%s (tinatayang)"
diff --git a/snapshots/countries/PH_COMMON.json b/snapshots/countries/PH_COMMON.json
index 4da02ce22..0d716c164 100644
--- a/snapshots/countries/PH_COMMON.json
+++ b/snapshots/countries/PH_COMMON.json
@@ -268,6 +268,7 @@
"2009-04-10": "Good Friday",
"2009-05-01": "Labor Day",
"2009-06-12": "Independence Day",
+ "2009-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2009-08-21": "Ninoy Aquino Day",
"2009-08-31": "National Heroes Day",
"2009-09-21": "Eid al-Fitr",
@@ -284,6 +285,7 @@
"2010-04-09": "Day of Valor",
"2010-05-01": "Labor Day",
"2010-06-14": "Independence Day",
+ "2010-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2010-08-23": "Ninoy Aquino Day",
"2010-08-30": "National Heroes Day",
"2010-09-10": "Eid al-Fitr",
@@ -300,6 +302,7 @@
"2011-04-22": "Good Friday",
"2011-05-01": "Labor Day",
"2011-06-12": "Independence Day",
+ "2011-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2011-08-21": "Ninoy Aquino Day",
"2011-08-29": "National Heroes Day",
"2011-08-30": "Eid al-Fitr",
@@ -316,6 +319,7 @@
"2012-04-09": "Day of Valor",
"2012-05-01": "Labor Day",
"2012-06-12": "Independence Day",
+ "2012-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2012-08-20": "Eid al-Fitr",
"2012-08-21": "Ninoy Aquino Day",
"2012-08-27": "National Heroes Day",
@@ -334,6 +338,7 @@
"2013-04-09": "Day of Valor",
"2013-05-01": "Labor Day",
"2013-06-12": "Independence Day",
+ "2013-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2013-08-09": "Eid al-Fitr",
"2013-08-21": "Ninoy Aquino Day",
"2013-08-26": "National Heroes Day",
@@ -353,6 +358,7 @@
"2014-04-19": "Black Saturday",
"2014-05-01": "Labor Day",
"2014-06-12": "Independence Day",
+ "2014-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2014-07-29": "Eid al-Fitr",
"2014-08-21": "Ninoy Aquino Day",
"2014-08-25": "National Heroes Day",
@@ -374,6 +380,7 @@
"2015-05-01": "Labor Day",
"2015-06-12": "Independence Day",
"2015-07-17": "Eid al-Fitr",
+ "2015-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2015-08-21": "Ninoy Aquino Day",
"2015-08-31": "National Heroes Day",
"2015-09-25": "Eid al-Adha",
@@ -394,6 +401,7 @@
"2016-05-01": "Labor Day",
"2016-06-12": "Independence Day",
"2016-07-07": "Eid al-Fitr",
+ "2016-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2016-08-21": "Ninoy Aquino Day",
"2016-08-29": "National Heroes Day",
"2016-09-10": "Eid al-Adha",
@@ -414,6 +422,7 @@
"2017-05-01": "Labor Day",
"2017-06-12": "Independence Day",
"2017-06-26": "Eid al-Fitr",
+ "2017-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2017-08-21": "Ninoy Aquino Day",
"2017-08-28": "National Heroes Day",
"2017-09-02": "Eid al-Adha",
@@ -434,6 +443,7 @@
"2018-05-14": "Elections special (non-working) day",
"2018-06-12": "Independence Day",
"2018-06-15": "Eid al-Fitr",
+ "2018-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2018-08-21": "Eid al-Adha; Ninoy Aquino Day",
"2018-08-27": "National Heroes Day",
"2018-11-01": "All Saints' Day",
@@ -454,6 +464,7 @@
"2019-05-13": "Elections special (non-working) day",
"2019-06-05": "Eid al-Fitr",
"2019-06-12": "Independence Day",
+ "2019-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2019-08-12": "Eid al-Adha",
"2019-08-21": "Ninoy Aquino Day",
"2019-08-26": "National Heroes Day",
@@ -474,6 +485,7 @@
"2020-05-01": "Labor Day",
"2020-05-25": "Eid al-Fitr",
"2020-06-12": "Independence Day",
+ "2020-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2020-07-31": "Eid al-Adha",
"2020-08-21": "Ninoy Aquino Day",
"2020-08-31": "National Heroes Day",
@@ -496,6 +508,7 @@
"2021-05-13": "Eid al-Fitr",
"2021-06-12": "Independence Day",
"2021-07-20": "Eid al-Adha",
+ "2021-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2021-08-21": "Ninoy Aquino Day",
"2021-08-30": "National Heroes Day",
"2021-11-01": "All Saints' Day",
@@ -515,6 +528,7 @@
"2022-05-09": "Elections special (non-working) day",
"2022-06-12": "Independence Day",
"2022-07-09": "Eid al-Adha",
+ "2022-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2022-08-21": "Ninoy Aquino Day",
"2022-08-29": "National Heroes Day",
"2022-10-31": "Additional special (non-working) day",
@@ -534,6 +548,7 @@
"2023-05-01": "Labor Day",
"2023-06-12": "Independence Day",
"2023-06-28": "Eid al-Adha",
+ "2023-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2023-08-21": "Ninoy Aquino Day",
"2023-08-28": "National Heroes Day",
"2023-10-30": "Elections special (non-working) day",
@@ -556,7 +571,8 @@
"2024-05-01": "Labor Day",
"2024-06-12": "Independence Day",
"2024-06-17": "Eid al-Adha",
- "2024-08-21": "Ninoy Aquino Day",
+ "2024-07-27": "Founding Anniversary of Iglesia ni Cristo",
+ "2024-08-23": "Ninoy Aquino Day",
"2024-08-26": "National Heroes Day",
"2024-11-01": "All Saints' Day",
"2024-11-02": "Additional special (non-working) day",
@@ -577,13 +593,14 @@
"2025-05-01": "Labor Day",
"2025-06-06": "Eid al-Adha (estimated)",
"2025-06-12": "Independence Day",
+ "2025-07-27": "Additional special (non-working) day",
"2025-08-21": "Ninoy Aquino Day",
"2025-08-25": "National Heroes Day",
- "2025-10-31": "Additional special (non-working) day",
+ "2025-10-31": "All Saints' Day Eve",
"2025-11-01": "All Saints' Day",
"2025-11-30": "Bonifacio Day",
"2025-12-08": "Immaculate Conception",
- "2025-12-24": "Additional special (non-working) day",
+ "2025-12-24": "Christmas Eve",
"2025-12-25": "Christmas Day",
"2025-12-30": "Rizal Day",
"2025-12-31": "New Year's Eve",
@@ -598,6 +615,7 @@
"2026-05-01": "Labor Day",
"2026-05-27": "Eid al-Adha (estimated)",
"2026-06-12": "Independence Day",
+ "2026-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2026-08-21": "Ninoy Aquino Day",
"2026-08-31": "National Heroes Day",
"2026-11-01": "All Saints' Day",
@@ -617,6 +635,7 @@
"2027-05-01": "Labor Day",
"2027-05-16": "Eid al-Adha (estimated)",
"2027-06-12": "Independence Day",
+ "2027-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2027-08-21": "Ninoy Aquino Day",
"2027-08-30": "National Heroes Day",
"2027-11-01": "All Saints' Day",
@@ -636,6 +655,7 @@
"2028-05-01": "Labor Day",
"2028-05-05": "Eid al-Adha (estimated)",
"2028-06-12": "Independence Day",
+ "2028-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2028-08-21": "Ninoy Aquino Day",
"2028-08-28": "National Heroes Day",
"2028-11-01": "All Saints' Day",
@@ -655,6 +675,7 @@
"2029-04-24": "Eid al-Adha (estimated)",
"2029-05-01": "Labor Day",
"2029-06-12": "Independence Day",
+ "2029-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2029-08-21": "Ninoy Aquino Day",
"2029-08-27": "National Heroes Day",
"2029-11-01": "All Saints' Day",
@@ -674,6 +695,7 @@
"2030-04-20": "Black Saturday",
"2030-05-01": "Labor Day",
"2030-06-12": "Independence Day",
+ "2030-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2030-08-21": "Ninoy Aquino Day",
"2030-08-26": "National Heroes Day",
"2030-11-01": "All Saints' Day",
@@ -693,6 +715,7 @@
"2031-04-12": "Black Saturday",
"2031-05-01": "Labor Day",
"2031-06-12": "Independence Day",
+ "2031-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2031-08-21": "Ninoy Aquino Day",
"2031-08-25": "National Heroes Day",
"2031-11-01": "All Saints' Day",
@@ -712,6 +735,7 @@
"2032-04-09": "Day of Valor",
"2032-05-01": "Labor Day",
"2032-06-12": "Independence Day",
+ "2032-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2032-08-21": "Ninoy Aquino Day",
"2032-08-30": "National Heroes Day",
"2032-11-01": "All Saints' Day",
@@ -731,6 +755,7 @@
"2033-04-16": "Black Saturday",
"2033-05-01": "Labor Day",
"2033-06-12": "Independence Day",
+ "2033-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2033-08-21": "Ninoy Aquino Day",
"2033-08-29": "National Heroes Day",
"2033-11-01": "All Saints' Day",
@@ -750,6 +775,7 @@
"2034-04-09": "Day of Valor",
"2034-05-01": "Labor Day",
"2034-06-12": "Independence Day",
+ "2034-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2034-08-21": "Ninoy Aquino Day",
"2034-08-28": "National Heroes Day",
"2034-11-01": "All Saints' Day",
@@ -769,6 +795,7 @@
"2035-04-09": "Day of Valor",
"2035-05-01": "Labor Day",
"2035-06-12": "Independence Day",
+ "2035-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2035-08-21": "Ninoy Aquino Day",
"2035-08-27": "National Heroes Day",
"2035-11-01": "All Saints' Day",
@@ -788,6 +815,7 @@
"2036-04-12": "Black Saturday",
"2036-05-01": "Labor Day",
"2036-06-12": "Independence Day",
+ "2036-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2036-08-21": "Ninoy Aquino Day",
"2036-08-25": "National Heroes Day",
"2036-11-01": "All Saints' Day",
@@ -807,6 +835,7 @@
"2037-04-09": "Day of Valor",
"2037-05-01": "Labor Day",
"2037-06-12": "Independence Day",
+ "2037-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2037-08-21": "Ninoy Aquino Day",
"2037-08-31": "National Heroes Day",
"2037-11-01": "All Saints' Day",
@@ -826,6 +855,7 @@
"2038-04-24": "Black Saturday",
"2038-05-01": "Labor Day",
"2038-06-12": "Independence Day",
+ "2038-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2038-08-21": "Ninoy Aquino Day",
"2038-08-30": "National Heroes Day",
"2038-10-29": "Eid al-Fitr (estimated)",
@@ -844,6 +874,7 @@
"2039-04-09": "Black Saturday; Day of Valor",
"2039-05-01": "Labor Day",
"2039-06-12": "Independence Day",
+ "2039-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2039-08-21": "Ninoy Aquino Day",
"2039-08-29": "National Heroes Day",
"2039-10-19": "Eid al-Fitr (estimated)",
@@ -863,6 +894,7 @@
"2040-04-09": "Day of Valor",
"2040-05-01": "Labor Day",
"2040-06-12": "Independence Day",
+ "2040-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2040-08-21": "Ninoy Aquino Day",
"2040-08-27": "National Heroes Day",
"2040-10-07": "Eid al-Fitr (estimated)",
@@ -882,6 +914,7 @@
"2041-04-20": "Black Saturday",
"2041-05-01": "Labor Day",
"2041-06-12": "Independence Day",
+ "2041-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2041-08-21": "Ninoy Aquino Day",
"2041-08-26": "National Heroes Day",
"2041-09-26": "Eid al-Fitr (estimated)",
@@ -901,6 +934,7 @@
"2042-04-09": "Day of Valor",
"2042-05-01": "Labor Day",
"2042-06-12": "Independence Day",
+ "2042-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2042-08-21": "Ninoy Aquino Day",
"2042-08-25": "National Heroes Day",
"2042-09-15": "Eid al-Fitr (estimated)",
@@ -920,6 +954,7 @@
"2043-04-09": "Day of Valor",
"2043-05-01": "Labor Day",
"2043-06-12": "Independence Day",
+ "2043-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2043-08-21": "Ninoy Aquino Day",
"2043-08-31": "National Heroes Day",
"2043-09-04": "Eid al-Fitr (estimated)",
@@ -939,6 +974,7 @@
"2044-04-16": "Black Saturday",
"2044-05-01": "Labor Day",
"2044-06-12": "Independence Day",
+ "2044-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2044-08-21": "Ninoy Aquino Day",
"2044-08-24": "Eid al-Fitr (estimated)",
"2044-08-29": "National Heroes Day",
@@ -958,6 +994,7 @@
"2045-04-09": "Day of Valor",
"2045-05-01": "Labor Day",
"2045-06-12": "Independence Day",
+ "2045-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2045-08-14": "Eid al-Fitr (estimated)",
"2045-08-21": "Ninoy Aquino Day",
"2045-08-28": "National Heroes Day",
@@ -977,6 +1014,7 @@
"2046-04-09": "Day of Valor",
"2046-05-01": "Labor Day",
"2046-06-12": "Independence Day",
+ "2046-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2046-08-03": "Eid al-Fitr (estimated)",
"2046-08-21": "Ninoy Aquino Day",
"2046-08-27": "National Heroes Day",
@@ -997,6 +1035,7 @@
"2047-05-01": "Labor Day",
"2047-06-12": "Independence Day",
"2047-07-24": "Eid al-Fitr (estimated)",
+ "2047-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2047-08-21": "Ninoy Aquino Day",
"2047-08-26": "National Heroes Day",
"2047-09-30": "Eid al-Adha (estimated)",
@@ -1016,6 +1055,7 @@
"2048-05-01": "Labor Day",
"2048-06-12": "Independence Day",
"2048-07-12": "Eid al-Fitr (estimated)",
+ "2048-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2048-08-21": "Ninoy Aquino Day",
"2048-08-31": "National Heroes Day",
"2048-09-19": "Eid al-Adha (estimated)",
@@ -1035,6 +1075,7 @@
"2049-05-01": "Labor Day",
"2049-06-12": "Independence Day",
"2049-07-01": "Eid al-Fitr (estimated)",
+ "2049-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2049-08-21": "Ninoy Aquino Day",
"2049-08-30": "National Heroes Day",
"2049-09-08": "Eid al-Adha (estimated)",
@@ -1053,6 +1094,7 @@
"2050-05-01": "Labor Day",
"2050-06-12": "Independence Day",
"2050-06-20": "Eid al-Fitr (estimated)",
+ "2050-07-27": "Founding Anniversary of Iglesia ni Cristo",
"2050-08-21": "Ninoy Aquino Day",
"2050-08-28": "Eid al-Adha (estimated)",
"2050-08-29": "National Heroes Day",
diff --git a/tests/countries/test_philippines.py b/tests/countries/test_philippines.py
index 0cddfbf14..1fe9f144d 100644
--- a/tests/countries/test_philippines.py
+++ b/tests/countries/test_philippines.py
@@ -27,10 +27,11 @@ def test_country_aliases(self):
def test_no_holidays(self):
self.assertNoHolidays(Philippines(years=1987))
- self.assertNoHolidays(Philippines(years=2024, categories=WORKDAY))
+ self.assertNoHolidays(Philippines(years=2008, categories=WORKDAY))
def test_special_holidays(self):
self.assertHoliday(
+ # Additional special (non-working) day.
"2008-12-26",
"2008-12-29",
"2009-11-02",
@@ -65,6 +66,9 @@ def test_special_holidays(self):
"2024-02-09",
"2024-11-02",
"2024-12-24",
+ "2025-07-27",
+ "2025-10-31",
+ "2025-12-24",
)
def test_new_years_day(self):
@@ -178,15 +182,27 @@ def test_independence_day(self):
"2010-06-14",
)
+ def test_iglesia_ni_cristo(self):
+ # 2025 special non-working day is marked as an additional entry for now,
+ # not part of this test case.
+ name = "Founding Anniversary of Iglesia ni Cristo"
+ self.assertHolidayName(
+ name,
+ Philippines(categories=WORKDAY, years=range(2009, 2050)),
+ (f"{year}-07-27" for year in [*range(2009, 2025), *range(2026, 2050)]),
+ )
+ self.assertNoHolidayName(name, range(1988, 2050))
+
def test_ninoy_aquino_day(self):
name = "Ninoy Aquino Day"
+ years_non_aug_21 = {2007, 2008, 2010, 2024}
self.assertHolidayName(
name,
- (f"{year}-08-21" for year in [*range(2004, 2007), *range(2011, 2050)]),
+ (f"{year}-08-21" for year in set(range(2004, 2050)) - years_non_aug_21),
"2007-08-20",
"2008-08-18",
- "2009-08-21",
"2010-08-23",
+ "2024-08-23",
)
self.assertNoHolidayName(name, range(1988, 2004))
@@ -435,6 +451,32 @@ def test_2023(self):
("2023-12-31", "Last Day of the Year"),
)
+ def test_2025(self):
+ self.assertHolidays(
+ Philippines(years=2025),
+ ("2025-01-01", "New Year's Day"),
+ ("2025-01-29", "Chinese New Year"),
+ ("2025-03-30", "Eid'l Fitr (estimated)"),
+ ("2025-04-09", "Araw ng Kagitingan"),
+ ("2025-04-17", "Maundy Thursday"),
+ ("2025-04-18", "Good Friday"),
+ ("2025-04-19", "Black Saturday"),
+ ("2025-05-01", "Labor Day"),
+ ("2025-06-06", "Eid'l Adha (estimated)"),
+ ("2025-06-12", "Independence Day"),
+ ("2025-07-27", "Additional special (non-working) day"),
+ ("2025-08-21", "Ninoy Aquino Day"),
+ ("2025-08-25", "National Heroes Day"),
+ ("2025-10-31", "All Saints' Day Eve"),
+ ("2025-11-01", "All Saints' Day"),
+ ("2025-11-30", "Bonifacio Day"),
+ ("2025-12-08", "Feast of the Immaculate Conception of Mary"),
+ ("2025-12-24", "Christmas Eve"),
+ ("2025-12-25", "Christmas Day"),
+ ("2025-12-30", "Rizal Day"),
+ ("2025-12-31", "Last Day of the Year"),
+ )
+
def test_l10n_default(self):
self.assertLocalizedHolidays(
("2024-01-01", "New Year's Day"),
@@ -448,7 +490,8 @@ def test_l10n_default(self):
("2024-05-01", "Labor Day"),
("2024-06-12", "Independence Day"),
("2024-06-17", "Eid'l Adha"),
- ("2024-08-21", "Ninoy Aquino Day"),
+ ("2024-07-27", "Founding Anniversary of Iglesia ni Cristo"),
+ ("2024-08-23", "Ninoy Aquino Day"),
("2024-08-26", "National Heroes Day"),
("2024-11-01", "All Saints' Day"),
("2024-11-02", "Additional special (non-working) day"),
@@ -474,7 +517,8 @@ def test_l10n_en_us(self):
("2024-05-01", "Labor Day"),
("2024-06-12", "Independence Day"),
("2024-06-17", "Eid al-Adha"),
- ("2024-08-21", "Ninoy Aquino Day"),
+ ("2024-07-27", "Founding Anniversary of Iglesia ni Cristo"),
+ ("2024-08-23", "Ninoy Aquino Day"),
("2024-08-26", "National Heroes Day"),
("2024-11-01", "All Saints' Day"),
("2024-11-02", "Additional special (non-working) day"),
@@ -500,7 +544,8 @@ def test_l10n_fil(self):
("2024-05-01", "Araw ng Paggawa"),
("2024-06-12", "Araw ng Kalayaan"),
("2024-06-17", "Eid al-Adha"),
- ("2024-08-21", "Araw ng Kabayanihan ni Ninoy Aquino"),
+ ("2024-07-27", "Anibersaryo ng Pagkatatag ng Iglesia ni Cristo"),
+ ("2024-08-23", "Araw ng Kabayanihan ni Ninoy Aquino"),
("2024-08-26", "Araw ng mga Bayani"),
("2024-11-01", "Araw ng mga Santo"),
("2024-11-02", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
@@ -529,7 +574,8 @@ def test_l10n_th(self):
("2024-05-01", "วันแรงงาน"),
("2024-06-12", "วันประกาศเอกราชสาธารณรัฐฟิลิปปินส์"),
("2024-06-17", "วันอีดิ้ลอัฎฮา"),
- ("2024-08-21", "วันนินอย อากีโน"),
+ ("2024-07-27", "วันครบรอบการสถาปนานิกายคริสตจักรของพระคริสต์"),
+ ("2024-08-23", "วันนินอย อากีโน"),
("2024-08-26", "วันวีรบุรุษแห่งชาติ"),
("2024-11-01", "วันสมโภชนักบุญทั้งหลาย"),
("2024-11-02", "วันหยุดพิเศษ (เพิ่มเติม)"),
@@ -540,32 +586,3 @@ def test_l10n_th(self):
("2024-12-30", "วันรีซัล"),
("2024-12-31", "วันสิ้นปี"),
)
-
- def test_l10n_tl(self):
- self.assertLocalizedHolidays(
- "tl",
- ("2024-01-01", "Bagong Taon"),
- ("2024-02-09", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
- ("2024-02-10", "Bagong Taon ng mga Tsino"),
- ("2024-03-28", "Huwebes Santo"),
- ("2024-03-29", "Biyernes Santo"),
- ("2024-03-30", "Sabado de Gloria"),
- ("2024-04-09", "Araw ng Kagitingan"),
- ("2024-04-10", "Eid al-Fitr"),
- ("2024-05-01", "Araw ng Paggawa"),
- ("2024-06-12", "Araw ng Kalayaan"),
- ("2024-06-17", "Eid al-Adha"),
- ("2024-08-21", "Araw ng Kabayanihan ni Ninoy Aquino"),
- ("2024-08-26", "Araw ng mga Bayani"),
- ("2024-11-01", "Araw ng mga Santo"),
- ("2024-11-02", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
- ("2024-11-30", "Araw ng Kabayanihan ni Bonifacio"),
- (
- "2024-12-08",
- "Dakilang Kapistahan ng Kalinis-linisang Paglilihi sa Mahal na Birheng Maria",
- ),
- ("2024-12-24", "Karagdagang Espesyal na Araw (Walang Trabajo)"),
- ("2024-12-25", "Pasko"),
- ("2024-12-30", "Araw ng Kabayanihan ni Rizal"),
- ("2024-12-31", "Bisperas ng Bagong Taon"),
- )
From 51f8af7b76946de880a2079479eeaa1cdaf7943f Mon Sep 17 00:00:00 2001
From: Arkadii Yakovets
Date: Fri, 1 Nov 2024 17:23:32 -0700
Subject: [PATCH 7/7] Update code
---
holidays/locale/en_US/LC_MESSAGES/PH.po | 2 +-
tests/countries/test_philippines.py | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/holidays/locale/en_US/LC_MESSAGES/PH.po b/holidays/locale/en_US/LC_MESSAGES/PH.po
index 9982f770a..1b61ab88b 100644
--- a/holidays/locale/en_US/LC_MESSAGES/PH.po
+++ b/holidays/locale/en_US/LC_MESSAGES/PH.po
@@ -19,7 +19,7 @@ msgstr ""
"PO-Revision-Date: 2024-11-02 01:48+0700\n"
"Last-Translator: PPsyrius \n"
"Language-Team: Holidays Localization Team\n"
-"Language: tl\n"
+"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
diff --git a/tests/countries/test_philippines.py b/tests/countries/test_philippines.py
index 1fe9f144d..ce09d7a55 100644
--- a/tests/countries/test_philippines.py
+++ b/tests/countries/test_philippines.py
@@ -175,7 +175,7 @@ def test_independence_day(self):
name = "Independence Day"
self.assertHolidayName(
name,
- (f"{year}-06-12" for year in [*range(1988, 2007), *range(2011, 2050)]),
+ (f"{year}-06-12" for year in (*range(1988, 2007), *range(2011, 2050))),
"2007-06-11",
"2008-06-09",
"2009-06-12",
@@ -189,7 +189,7 @@ def test_iglesia_ni_cristo(self):
self.assertHolidayName(
name,
Philippines(categories=WORKDAY, years=range(2009, 2050)),
- (f"{year}-07-27" for year in [*range(2009, 2025), *range(2026, 2050)]),
+ (f"{year}-07-27" for year in (*range(2009, 2025), *range(2026, 2050))),
)
self.assertNoHolidayName(name, range(1988, 2050))
@@ -234,7 +234,7 @@ def test_bonifacio_day(self):
name = "Bonifacio Day"
self.assertHolidayName(
name,
- (f"{year}-11-30" for year in [*range(1988, 2008), *range(2011, 2050)]),
+ (f"{year}-11-30" for year in (*range(1988, 2008), *range(2011, 2050))),
"2008-12-01",
"2009-11-30",
"2010-11-29",
@@ -252,14 +252,14 @@ def test_rizal_day(self):
name = "Rizal Day"
self.assertHolidayName(
name,
- (f"{year}-12-30" for year in [*range(1988, 2010), *range(2011, 2050)]),
+ (f"{year}-12-30" for year in (*range(1988, 2010), *range(2011, 2050))),
"2010-12-27",
)
def test_last_day_of_year(self):
name = "Last Day of the Year"
self.assertHolidayName(
- name, (f"{year}-12-31" for year in [*range(1988, 2021), *range(2023, 2050)])
+ name, (f"{year}-12-31" for year in (*range(1988, 2021), *range(2023, 2050)))
)
self.assertNoHolidayName(name, 2021, 2022)