[Koha-bugs] [Bug 8800] SpecifyDueDate && useDaysMode=Datedue wrong behaviour

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 18 21:43:47 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8800

--- Comment #11 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 12919
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12919&action=edit
Bug 8800 - useDaysMode=Datedue wrong behaviour (revisited)

useDaysMode=Datedue wasn't used as advertised in the docs. Added
next_open_day and prev_open_day subs to Koha::Calendar and some tests for them.

- CalcDateDue was modified to be consistent with the intended behaviour
- Koha::Calendar->addDate was rewritten in a more sane way (also split into
  addHours and addDays for convenience).

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list