Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions holidays/countries/christmas_island.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ class ChristmasIsland(
start_year = 2007

def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
"""
Args:
islamic_show_estimated:
Whether to add "estimated" label to Islamic holidays name
if holiday date is estimated.
"""
Comment thread
KJhellico marked this conversation as resolved.
ChineseCalendarHolidays.__init__(self, cls=ChristmasIslandChineseHolidays)
ChristianHolidays.__init__(self)
InternationalHolidays.__init__(self)
Expand Down
6 changes: 6 additions & 0 deletions holidays/countries/turkmenistan.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ class Turkmenistan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays):
supported_languages = ("en_US", "ru", "tk")

def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
"""
Args:
islamic_show_estimated:
Whether to add "estimated" label to Islamic holidays name
if holiday date is estimated.
"""
Comment thread
KJhellico marked this conversation as resolved.
InternationalHolidays.__init__(self)
IslamicHolidays.__init__(
self, cls=TurkmenistanIslamicHolidays, show_estimated=islamic_show_estimated
Expand Down
Loading