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

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

Return to bug 14315