Skip to content

wrong version of holidays/countries/united_arab_emirates.py in the release #2054

@niradar

Description

@niradar

Bug Report

holidays/countries/united_arab_emirates.py in the release is different than the version in github.

In github:

def _populate_public_holidays(self):
    # The resting days are Saturday and Sunday since Jan 1, 2022.
    # https://time.com/6126260/uae-working-days-weekend/
    self.weekend = {FRI, SAT} if self._year <= 2021 else {SAT, SUN}

And in the release this line is missing and causing a bug

Expected Behavior

Include the updated file from the github in the release

Actual Behavior


print(holidays.AE.weekend)

returns {4, 5} but needs to be {5, 6}

Steps to Reproduce the Problem


import holidays
print(holidays.AE.weekend)

Environment

  • OS: Windows and Linux
  • Python version: 3.12
  • holidays version: 0.58 using pip install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions