- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 560
          Update Johor (Malaysia) and United Arab Emirates weekend observance, cleanup others
          #2048
        
          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
Conversation
…s, cleanup others
| Need to add here:         else:
            self._observed_rule = SUN_TO_NEXT_WORKDAY
            self.weekend = {SAT, SUN}Then it will work correctly when  | 
Co-Authored-By: ~Jhellico <[email protected]>
| Codecov ReportAll modified and coverable lines are covered by tests ✅ 
 Additional details and impacted files@@            Coverage Diff            @@
##               dev     #2048   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          190       190           
  Lines        11522     11519    -3     
  Branches      1798      1738   -60     
=========================================
- Hits         11522     11519    -3     ☔ View full report in Codecov by Sentry. | 
| 
 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
…, cleanup others (vacanza#2048) Co-authored-by: ~Jhellico <[email protected]>



Proposed change
This updates Johor (Malaysia) weekend observance from
FRI-SATback toSAT-SUNas previously used between 1995-2013, starting Jan 1, 2025 next year as decreed on Oct 8, 2024.The same goes for the United Arab Emirates's weekend observance change from
FRI-SATtoSAT-SUNstarting Jan 1, 2022 (we missed this somehow in the last library-wide special weekend implementations).I've also standardised the weekend observance code a bit for other countries to match the existing format used by Saudi Arabia.
Type of change
holidaysfunctionality in general)Checklist
make pre-commit, it didn't generate any changesmake test, all tests passed locally