https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42310

--- Comment #3 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 196961
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196961&action=edit
Bug 42310: Refactor Koha::Calendar to use Koha::Calendar::* classes

Replace raw DBI queries in _init() and _holidays() with
Koha::Calendar::WeeklyClosures, RepeatingClosures, SingleClosures,
and Exceptions searches.

The internal data structures remain identical (weekly_closed_days
array, day_month_closed_days hash, _holidays hash with YYYYMMDD
keys) so all consumers (is_holiday, addDuration, next_open_days)
continue to work unchanged.

Signed-off-by: Tomás Cohen Arazi <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to