View | Details | Raw Unified | Return to bug 25723
Collapse All | Expand All

(-)a/Koha/Calendar.pm (-1 / +9 lines)
Lines 472-477 representing the previous open day after subtracting the number of passed Link Here
472
days. It is intended for use to calculate the due date when useDaysMode
472
days. It is intended for use to calculate the due date when useDaysMode
473
syspref is set to either 'Datedue', 'Calendar' or 'Dayweek'.
473
syspref is set to either 'Datedue', 'Calendar' or 'Dayweek'.
474
474
475
=head2 days_forward
476
477
$datetime = $calendar->days_forward($start_dt, $to_add)
478
479
Passed a Datetime and number of days, returns another Datetime representing
480
the next open day after adding the passed number of days. It is intended for
481
use to calculate the due date when useDaysMode syspref is set to either
482
'Datedue', 'Calendar' or 'Dayweek'.
483
475
=head2 set_daysmode
484
=head2 set_daysmode
476
485
477
For testing only allows the calling script to change days mode
486
For testing only allows the calling script to change days mode
478
- 

Return to bug 25723