Bugzilla – Attachment 13444 Details for
Bug 8882
Hourly circ doesn't work with the calendar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8882 - Hourly circ doesn't work with the calendar
Bug-8882---Hourly-circ-doesnt-work-with-the-calend.patch (text/plain), 720 bytes, created by
Kyle M Hall
on 2012-11-14 13:10:35 UTC
(
hide
)
Description:
Bug 8882 - Hourly circ doesn't work with the calendar
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-11-14 13:10:35 UTC
Size:
720 bytes
patch
obsolete
>From 9838e205c4a162ee9ddd7b856f29401f4ee04caa Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 14 Nov 2012 08:02:55 -0500 >Subject: [PATCH] Bug 8882 - Hourly circ doesn't work with the calendar >Content-Type: text/plain; charset="utf-8" > >--- > Koha/Calendar.pm | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm >index 2a2e062..eef26e2 100644 >--- a/Koha/Calendar.pm >+++ b/Koha/Calendar.pm >@@ -139,7 +139,8 @@ sub addDate { > } > > sub is_holiday { >- my ( $self, $dt ) = @_; >+ my ( $self, $datetime ) = @_; >+ my $dt = $datetime->clone(); > my $dow = $dt->day_of_week; > if ( $dow == 7 ) { > $dow = 0; >-- >1.7.2.5
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 8882
:
12889
| 13444