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

Cannot create a holidays interval that ends today #537

Open
jaragunde opened this issue Dec 8, 2021 · 1 comment
Open

Cannot create a holidays interval that ends today #537

jaragunde opened this issue Dec 8, 2021 · 1 comment

Comments

@jaragunde
Copy link
Member

This is a problem in holidayManagement.php. Steps to reproduce, assuming today is 2021-12-08:

  1. Click on December 6.
  2. Click on December 8.

Expected: A holiday interval is created between 6 and 8.
Actual: A single day is marked as holiday, the 8.

@jaragunde
Copy link
Member Author

Additional facts:

  • it doesn't happen if you try to create an interval starting on the 8th and ending later, e.g. 10.
  • If you click first on Dec 8, then on Dec 6, no interval will be created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant