Bugzilla – Attachment 107021 Details for
Bug 25723
Improve efficiency of holiday calculation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25723: (QA follow-up) Silent POD warning
Bug-25723-QA-follow-up-Silent-POD-warning.patch (text/plain), 1.46 KB, created by
Joonas Kylmälä
on 2020-07-17 14:42:46 UTC
(
hide
)
Description:
Bug 25723: (QA follow-up) Silent POD warning
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2020-07-17 14:42:46 UTC
Size:
1.46 KB
patch
obsolete
>From 65c166513ce4c3146930c303a415db50ee90c39c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 17 Jun 2020 14:04:14 +0100 >Subject: [PATCH] Bug 25723: (QA follow-up) Silent POD warning >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >I didn't introduce the method that is warned about, but adding POD for >it seemed reasonable and will silence the QA Script warning. > >Signed-off-by: Emma Perks <Emma.Perks2@uhb.nhs.uk> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> >--- > Koha/Calendar.pm | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm >index d17989d2f5..c0dcd8e93d 100644 >--- a/Koha/Calendar.pm >+++ b/Koha/Calendar.pm >@@ -500,6 +500,15 @@ representing the previous open day after subtracting the number of passed > days. It is intended for use to calculate the due date when useDaysMode > syspref is set to either 'Datedue', 'Calendar' or 'Dayweek'. > >+=head2 days_forward >+ >+$datetime = $calendar->days_forward($start_dt, $to_add) >+ >+Passed a Datetime and number of days, returns another Datetime representing >+the next open day after adding the passed number of days. It is intended for >+use to calculate the due date when useDaysMode syspref is set to either >+'Datedue', 'Calendar' or 'Dayweek'. >+ > =head2 set_daysmode > > For testing only allows the calling script to change days mode >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25723
:
105789
|
105792
|
105793
|
105830
|
105831
|
105832
|
105833
|
105834
|
105835
|
105836
|
105936
|
105937
|
105939
|
105941
|
105947
|
105954
|
105955
|
105956
|
105957
|
105958
|
105959
|
105960
|
105961
|
105962
|
105963
|
105964
|
105965
|
105966
|
105967
|
105968
|
105969
|
105970
|
106991
|
106992
|
106993
|
106994
|
106995
|
106996
|
106997
|
106998
|
106999
|
107000
|
107001
|
107002
|
107003
|
107004
|
107005
|
107006
|
107007
|
107008
|
107009
|
107010
|
107013
|
107014
|
107015
|
107016
|
107017
|
107018
|
107019
|
107020
| 107021 |
107022
|
107023
|
107025