Just that. It doesn't right now.
Created attachment 13583 [details] [review] Bug 9078 - is_holiday should honour holiday exceptions Make is_holiday return 0 for holiday exceptions. Note: This patch makes several current ok tests fail. My first guess is test data is not constructed ok. More on this later. Sponsored-by: Universidad Nacional de Córdoba
Created attachment 13588 [details] [review] Bug 9078 - is_holiday should honour holiday exceptions Make is_holiday return 0 for holiday exceptions. Note: This patch makes several current ok tests fail. My first guess is test data is not constructed ok. More on this later. Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 13599 [details] [review] Bug 9078 - fixing exceptions broke tests Fixing the holiday exceptions arised a problem with how the test data was constructed. This made several tests fail. This patch fixes the add_holiday function. Tests should pass now. Sponsored-by: Universidad Nacional de Córdoba
Created attachment 13606 [details] [review] [SIGNED-OFF] Bug 9078 - is_holiday should honour holiday exceptions Make is_holiday return 0 for holiday exceptions. Note: This patch makes several current ok tests fail. My first guess is test data is not constructed ok. More on this later. Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 13607 [details] [review] [PATCH 2/3] [SIGNED-OFF] Bug 9078 - is_holiday should honour holiday Fixing the holiday exceptions arised a problem with how the test data was constructed. This made several tests fail. This patch fixes the add_holiday function. Tests should pass now. Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 13621 [details] [review] [PATCH 2/3] [SIGNED-OFF] Bug 9078 - is_holiday should honour holiday
Created attachment 13622 [details] [review] [PATCH 3/3] [SIGNED-OFF] Bug 9078 - fixing exceptions broke tests
QA comment: * passes koha-qa.pl * small piece of code * prove t/Calendar.pm OK passed QA
This patch has been pushed to master.
This fix is in in 3.10.x (was released in 3.10.0) and has been pushed to 3.8.x will be in 3.8.8
Patches do not apply to 3.6.x, please reopen and submit a patch for 3.6.x if necessary. Thanks!