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

Fixing Federal Christmas Shift. #242

Merged
merged 1 commit into from Mar 28, 2018
Merged

Fixing Federal Christmas Shift. #242

merged 1 commit into from Mar 28, 2018

Conversation

Natim
Copy link
Contributor

@Natim Natim commented Sep 4, 2017

Fixes #241
Refs #232

@Natim
Copy link
Contributor Author

Natim commented Sep 4, 2017

Tests are failing because of #245

@brunobord
Copy link
Member

brunobord commented Sep 20, 2017

For some reasons, travis refuses to install the Python 3.3 & Python 3.5 interpreter, which causes those tests to fail.
Please rebase your branch from master in order to fix these jobs.

Copy link
Member

@brunobord brunobord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The XMas fix looks okay. But I can't see the point of the "include_veterans_day" flag.

@@ -14,6 +14,7 @@ class UnitedStates(WesternCalendar, ChristianMixin):
(7, 4, 'Independence Day'),
)
# Veterans day label
include_veterans_day = True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see the point of this flag.
Veterans day is unanimously observed by all 50 States, there's no case where you'd have a "False" value here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not observed by Mozilla, so in https://natim.github.io/Diggory/ I had to turn it to false while inheriting from the US calendar.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brunobord brunobord merged commit 31084ef into workalendar:master Mar 28, 2018
@brunobord brunobord mentioned this pull request Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants