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

(-)a/Koha/Calendar.pm (-1 / +9 lines)
Lines 500-505 representing the previous open day after subtracting the number of passed Link Here
500
days. It is intended for use to calculate the due date when useDaysMode
500
days. It is intended for use to calculate the due date when useDaysMode
501
syspref is set to either 'Datedue', 'Calendar' or 'Dayweek'.
501
syspref is set to either 'Datedue', 'Calendar' or 'Dayweek'.
502
502
503
=head2 days_forward
504
505
$datetime = $calendar->days_forward($start_dt, $to_add)
506
507
Passed a Datetime and number of days, returns another Datetime representing
508
the next open day after adding the passed number of days. It is intended for
509
use to calculate the due date when useDaysMode syspref is set to either
510
'Datedue', 'Calendar' or 'Dayweek'.
511
503
=head2 set_daysmode
512
=head2 set_daysmode
504
513
505
For testing only allows the calling script to change days mode
514
For testing only allows the calling script to change days mode
506
- 

Return to bug 25723