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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 9 20:42:45 CET 2012


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

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

--- Comment #13 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 13367
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13367&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
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

Increased the number of tests to 28

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


More information about the Koha-bugs mailing list