Bugzilla – Attachment 16382 Details for
Bug 8365
Renewal duration in issuingules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8365: Followup Force DateTime type for the datedue variable
Bug-8365-Followup-Force-DateTime-type-for-the-date.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2013-03-19 13:23:04 UTC
(
hide
)
Description:
Bug 8365: Followup Force DateTime type for the datedue variable
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-03-19 13:23:04 UTC
Size:
1.04 KB
patch
obsolete
>From 604fb36546e865e73ccb1f5c9ffacdf6f038ff52 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 19 Mar 2013 14:18:40 +0100 >Subject: [PATCH] Bug 8365: Followup Force DateTime type for the datedue > variable > >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 300da1c..4a60843 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2515,7 +2515,7 @@ sub AddRenewal { > my $itemtype = (C4::Context->preference('item-level_itypes')) ? $biblio->{'itype'} : $biblio->{'itemtype'}; > > $datedue = (C4::Context->preference('RenewalPeriodBase') eq 'date_due') ? >- $issuedata->{date_due} : >+ dt_from_string( $issuedata->{date_due} ) : > DateTime->now( time_zone => C4::Context->tz()); > $datedue = CalcDateDue($datedue, $itemtype, $issuedata->{'branchcode'}, $borrower, 'is a renewal'); > } >-- >1.7.10.4
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 8365
:
12054
|
12374
|
13972
|
14142
|
15300
|
15301
|
15302
|
15303
|
15360
|
15361
|
16120
|
16121
|
16213
|
16214
|
16382
|
16386
|
16396
|
16433
|
16434
|
16435
|
16436