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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 21 18:25:28 CET 2012


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13591|0                           |1
        is obsolete|                            |

--- Comment #25 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 13605
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13605&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.

- Koha::Calendar->addDate was rewritten in a more sane way (also split into
  addHours and addDays for convenience).
- Fixed a bug introduced in Bug 8966 regarding dt truncation and
dtSets->contains
- Minor docs typos
- Use the passed Calendar mode or default to 'Calendar' in
Koha::Calendar->_mockinit.
- Tests

I'm writing some db-dependent tests for is_holiday, and hopefully for
CalcDateDue so any
rewrite/followup doesn't break things.

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list