Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update Thailand holidays: name change for October 13 holiday #1493

Merged
merged 7 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions holidays/countries/thailand.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,14 +474,19 @@ def _populate_public_holidays(self):

if self._year >= 2017:
k_bhumibol_memorial = (
# Anniversary for the Death of King Bhumibol Adulyadej the Great.
tr(
"วันคล้ายวันสวรรคตพระบาทสมเด็จพระบรมชนกาธิเบศร "
"มหาภูมิพลอดุลยเดชมหาราช บรมนาถบพิตร"
# HM King Bhumibol Adulyadej Memorial Day.
tr("วันนวมินทรมหาราช")
if self._year >= 2023
else (
# Anniversary for the Death of King Bhumibol Adulyadej the Great.
tr(
"วันคล้ายวันสวรรคตพระบาทสมเด็จพระบรมชนกาธิเบศร "
"มหาภูมิพลอดุลยเดชมหาราช บรมนาถบพิตร"
)
if self._year >= 2019
# Anniversary for the Death of King Bhumibol Adulyadej.
else tr("วันคล้ายวันสวรรคตพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช บรมนาถบพิตร")
)
PPsyrius marked this conversation as resolved.
Show resolved Hide resolved
if self._year >= 2019
# Anniversary for the Death of King Bhumibol Adulyadej.
else tr("วันคล้ายวันสวรรคตพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช บรมนาถบพิตร")
)
self._add_observed(self._add_holiday_oct_13(k_bhumibol_memorial))

Expand Down
6 changes: 5 additions & 1 deletion holidays/locale/en_US/LC_MESSAGES/TH.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Python Holidays 0.33\n"
"Project-Id-Version: Python Holidays 0.35\n"
"POT-Creation-Date: 2023-03-18 15:58-0700\n"
"PO-Revision-Date: \n"
"Last-Translator: PPsyrius <[email protected]>\n"
Expand Down Expand Up @@ -240,3 +240,7 @@ msgstr "HM King Ramkamhaeng Memorial Day"
#. Thai National Flag Day
msgid "วันพระราชทานธงชาติไทย"
msgstr "Thai National Flag Day"

#. HM King Bhumibol Adulyadej Memorial Day.
msgid "วันนวมินทรมหาราช"
msgstr "HM King Bhumibol Adulyadej Memorial Day"
6 changes: 5 additions & 1 deletion holidays/locale/th/LC_MESSAGES/TH.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Python Holidays 0.33\n"
"Project-Id-Version: Python Holidays 0.35\n"
"POT-Creation-Date: 2023-03-02 00:37+0700\n"
"PO-Revision-Date: \n"
"Last-Translator: PPsyrius <[email protected]>\n"
Expand Down Expand Up @@ -238,3 +238,7 @@ msgstr ""
#. Thai National Flag Day
msgid "วันพระราชทานธงชาติไทย"
msgstr ""

#. HM King Bhumibol Adulyadej Memorial Day.
msgid "วันนวมินทรมหาราช"
msgstr ""
72 changes: 36 additions & 36 deletions snapshots/countries/TH.json
Original file line number Diff line number Diff line change
Expand Up @@ -2029,7 +2029,7 @@
"2023-08-14": "HM Queen Sirikit The Queen Mother's Birthday (in lieu); National Mother's Day (in lieu)",
"2023-08-18": "National Science Day",
"2023-09-28": "Thai National Flag Day",
"2023-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2023-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2023-10-23": "HM King Chulalongkorn Memorial Day",
"2023-11-27": "Loy Krathong",
"2023-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2066,8 +2066,8 @@
"2024-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2024-08-18": "National Science Day",
"2024-09-28": "Thai National Flag Day",
"2024-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2024-10-14": "HM King Bhumibol Adulyadej the Great Memorial Day (in lieu)",
"2024-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2024-10-14": "HM King Bhumibol Adulyadej Memorial Day (in lieu)",
"2024-10-23": "HM King Chulalongkorn Memorial Day",
"2024-11-15": "Loy Krathong",
"2024-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2101,7 +2101,7 @@
"2025-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2025-08-18": "National Science Day",
"2025-09-28": "Thai National Flag Day",
"2025-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2025-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2025-10-23": "HM King Chulalongkorn Memorial Day",
"2025-11-05": "Loy Krathong",
"2025-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2133,7 +2133,7 @@
"2026-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2026-08-18": "National Science Day",
"2026-09-28": "Thai National Flag Day",
"2026-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2026-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2026-10-23": "HM King Chulalongkorn Memorial Day",
"2026-11-24": "Loy Krathong",
"2026-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2168,7 +2168,7 @@
"2027-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2027-08-18": "National Science Day",
"2027-09-28": "Thai National Flag Day",
"2027-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2027-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2027-10-23": "HM King Chulalongkorn Memorial Day",
"2027-10-25": "HM King Chulalongkorn Memorial Day (in lieu)",
"2027-11-13": "Loy Krathong",
Expand Down Expand Up @@ -2205,7 +2205,7 @@
"2028-08-14": "HM Queen Sirikit The Queen Mother's Birthday (in lieu); National Mother's Day (in lieu)",
"2028-08-18": "National Science Day",
"2028-09-28": "Thai National Flag Day",
"2028-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2028-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2028-10-23": "HM King Chulalongkorn Memorial Day",
"2028-11-01": "Loy Krathong",
"2028-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2242,8 +2242,8 @@
"2029-08-13": "HM Queen Sirikit The Queen Mother's Birthday (in lieu); National Mother's Day (in lieu)",
"2029-08-18": "National Science Day",
"2029-09-28": "Thai National Flag Day",
"2029-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2029-10-15": "HM King Bhumibol Adulyadej the Great Memorial Day (in lieu)",
"2029-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2029-10-15": "HM King Bhumibol Adulyadej Memorial Day (in lieu)",
"2029-10-23": "HM King Chulalongkorn Memorial Day",
"2029-11-20": "Loy Krathong",
"2029-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2280,8 +2280,8 @@
"2030-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2030-08-18": "National Science Day",
"2030-09-28": "Thai National Flag Day",
"2030-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2030-10-14": "HM King Bhumibol Adulyadej the Great Memorial Day (in lieu)",
"2030-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2030-10-14": "HM King Bhumibol Adulyadej Memorial Day (in lieu)",
"2030-10-23": "HM King Chulalongkorn Memorial Day",
"2030-11-09": "Loy Krathong",
"2030-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2315,7 +2315,7 @@
"2031-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2031-08-18": "National Science Day",
"2031-09-28": "Thai National Flag Day",
"2031-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2031-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2031-10-23": "HM King Chulalongkorn Memorial Day",
"2031-11-28": "Loy Krathong",
"2031-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2348,7 +2348,7 @@
"2032-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2032-08-18": "National Science Day",
"2032-09-28": "Thai National Flag Day",
"2032-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2032-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2032-10-23": "HM King Chulalongkorn Memorial Day",
"2032-10-25": "HM King Chulalongkorn Memorial Day (in lieu)",
"2032-11-17": "Loy Krathong",
Expand Down Expand Up @@ -2383,7 +2383,7 @@
"2033-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2033-08-18": "National Science Day",
"2033-09-28": "Thai National Flag Day",
"2033-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2033-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2033-10-23": "HM King Chulalongkorn Memorial Day",
"2033-10-24": "HM King Chulalongkorn Memorial Day (in lieu)",
"2033-11-06": "Loy Krathong",
Expand Down Expand Up @@ -2422,7 +2422,7 @@
"2034-08-14": "HM Queen Sirikit The Queen Mother's Birthday (in lieu); National Mother's Day (in lieu)",
"2034-08-18": "National Science Day",
"2034-09-28": "Thai National Flag Day",
"2034-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2034-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2034-10-23": "HM King Chulalongkorn Memorial Day",
"2034-11-25": "Loy Krathong",
"2034-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2459,8 +2459,8 @@
"2035-08-13": "HM Queen Sirikit The Queen Mother's Birthday (in lieu); National Mother's Day (in lieu)",
"2035-08-18": "National Science Day",
"2035-09-28": "Thai National Flag Day",
"2035-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2035-10-15": "HM King Bhumibol Adulyadej the Great Memorial Day (in lieu)",
"2035-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2035-10-15": "HM King Bhumibol Adulyadej Memorial Day (in lieu)",
"2035-10-23": "HM King Chulalongkorn Memorial Day",
"2035-11-15": "Loy Krathong",
"2035-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2494,7 +2494,7 @@
"2036-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2036-08-18": "National Science Day",
"2036-09-28": "Thai National Flag Day",
"2036-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2036-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2036-10-23": "HM King Chulalongkorn Memorial Day",
"2036-11-03": "Loy Krathong",
"2036-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2525,7 +2525,7 @@
"2037-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2037-08-18": "National Science Day",
"2037-09-28": "Thai National Flag Day",
"2037-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2037-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2037-10-23": "HM King Chulalongkorn Memorial Day",
"2037-11-22": "Loy Krathong",
"2037-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2559,7 +2559,7 @@
"2038-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2038-08-18": "National Science Day",
"2038-09-28": "Thai National Flag Day",
"2038-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2038-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2038-10-23": "HM King Chulalongkorn Memorial Day",
"2038-10-25": "HM King Chulalongkorn Memorial Day (in lieu)",
"2038-11-11": "Loy Krathong",
Expand Down Expand Up @@ -2595,7 +2595,7 @@
"2039-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2039-08-18": "National Science Day",
"2039-09-28": "Thai National Flag Day",
"2039-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2039-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2039-10-23": "HM King Chulalongkorn Memorial Day",
"2039-10-24": "HM King Chulalongkorn Memorial Day (in lieu)",
"2039-10-31": "Loy Krathong",
Expand Down Expand Up @@ -2633,8 +2633,8 @@
"2040-08-13": "HM Queen Sirikit The Queen Mother's Birthday (in lieu); National Mother's Day (in lieu)",
"2040-08-18": "National Science Day",
"2040-09-28": "Thai National Flag Day",
"2040-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2040-10-15": "HM King Bhumibol Adulyadej the Great Memorial Day (in lieu)",
"2040-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2040-10-15": "HM King Bhumibol Adulyadej Memorial Day (in lieu)",
"2040-10-23": "HM King Chulalongkorn Memorial Day",
"2040-11-18": "Loy Krathong",
"2040-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2670,8 +2670,8 @@
"2041-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2041-08-18": "National Science Day",
"2041-09-28": "Thai National Flag Day",
"2041-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2041-10-14": "HM King Bhumibol Adulyadej the Great Memorial Day (in lieu)",
"2041-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2041-10-14": "HM King Bhumibol Adulyadej Memorial Day (in lieu)",
"2041-10-23": "HM King Chulalongkorn Memorial Day",
"2041-11-07": "Loy Krathong",
"2041-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2704,7 +2704,7 @@
"2042-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2042-08-18": "National Science Day",
"2042-09-28": "Thai National Flag Day",
"2042-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2042-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2042-10-23": "HM King Chulalongkorn Memorial Day",
"2042-11-26": "Loy Krathong",
"2042-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2735,7 +2735,7 @@
"2043-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2043-08-18": "National Science Day",
"2043-09-28": "Thai National Flag Day",
"2043-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2043-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2043-10-23": "HM King Chulalongkorn Memorial Day",
"2043-11-16": "Loy Krathong",
"2043-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2770,7 +2770,7 @@
"2044-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2044-08-18": "National Science Day",
"2044-09-28": "Thai National Flag Day",
"2044-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2044-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2044-10-23": "HM King Chulalongkorn Memorial Day",
"2044-10-24": "HM King Chulalongkorn Memorial Day (in lieu)",
"2044-11-04": "Loy Krathong",
Expand Down Expand Up @@ -2807,7 +2807,7 @@
"2045-08-14": "HM Queen Sirikit The Queen Mother's Birthday (in lieu); National Mother's Day (in lieu)",
"2045-08-18": "National Science Day",
"2045-09-28": "Thai National Flag Day",
"2045-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2045-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2045-10-23": "HM King Chulalongkorn Memorial Day",
"2045-11-23": "Loy Krathong",
"2045-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2844,8 +2844,8 @@
"2046-08-13": "HM Queen Sirikit The Queen Mother's Birthday (in lieu); National Mother's Day (in lieu)",
"2046-08-18": "National Science Day",
"2046-09-28": "Thai National Flag Day",
"2046-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2046-10-15": "HM King Bhumibol Adulyadej the Great Memorial Day (in lieu)",
"2046-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2046-10-15": "HM King Bhumibol Adulyadej Memorial Day (in lieu)",
"2046-10-23": "HM King Chulalongkorn Memorial Day",
"2046-11-13": "Loy Krathong",
"2046-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2882,8 +2882,8 @@
"2047-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2047-08-18": "National Science Day",
"2047-09-28": "Thai National Flag Day",
"2047-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2047-10-14": "HM King Bhumibol Adulyadej the Great Memorial Day (in lieu)",
"2047-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2047-10-14": "HM King Bhumibol Adulyadej Memorial Day (in lieu)",
"2047-10-23": "HM King Chulalongkorn Memorial Day",
"2047-11-02": "Loy Krathong",
"2047-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2915,7 +2915,7 @@
"2048-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2048-08-18": "National Science Day",
"2048-09-28": "Thai National Flag Day",
"2048-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2048-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2048-10-23": "HM King Chulalongkorn Memorial Day",
"2048-11-20": "Loy Krathong",
"2048-12-05": "HM King Bhumibol Adulyadej the Great's Birthday; National Day; National Father's Day",
Expand Down Expand Up @@ -2949,7 +2949,7 @@
"2049-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2049-08-18": "National Science Day",
"2049-09-28": "Thai National Flag Day",
"2049-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2049-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2049-10-23": "HM King Chulalongkorn Memorial Day",
"2049-10-25": "HM King Chulalongkorn Memorial Day (in lieu)",
"2049-11-09": "Loy Krathong",
Expand Down Expand Up @@ -2985,7 +2985,7 @@
"2050-08-12": "HM Queen Sirikit The Queen Mother's Birthday; National Mother's Day",
"2050-08-18": "National Science Day",
"2050-09-28": "Thai National Flag Day",
"2050-10-13": "HM King Bhumibol Adulyadej the Great Memorial Day",
"2050-10-13": "HM King Bhumibol Adulyadej Memorial Day",
"2050-10-23": "HM King Chulalongkorn Memorial Day",
"2050-10-24": "HM King Chulalongkorn Memorial Day (in lieu)",
"2050-11-28": "Loy Krathong",
Expand Down
Loading