Bugzilla – Attachment 10622 Details for
Bug 5644
dropbox mode doesn't set the correct date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5644 : Fixing dropbox mode calculation
Bug-5644--Fixing-dropbox-mode-calculation.patch (text/plain), 805 bytes, created by
Kyle M Hall
on 2012-07-03 11:03:17 UTC
(
hide
)
Description:
Bug 5644 : Fixing dropbox mode calculation
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-07-03 11:03:17 UTC
Size:
805 bytes
patch
obsolete
>From fb55f2a3c6edbed2a8cfd6a624ce48f3c31facb1 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Sat, 30 Jun 2012 09:04:07 +1200 >Subject: [PATCH] Bug 5644 : Fixing dropbox mode calculation > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > Koha/Calendar.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm >index dc132cd..ac3655a 100644 >--- a/Koha/Calendar.pm >+++ b/Koha/Calendar.pm >@@ -93,7 +93,7 @@ sub addDate { > Readonly::Scalar my $return_by_hour => 10; > my $day_dur = DateTime::Duration->new( days => 1 ); > if ( $add_duration->is_negative() ) { >- $day_dur->inverse(); >+ $day_dur = DateTime::Duration->new( days => -1 ); > } > if ( $days_mode eq 'Datedue' ) { > >-- >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 5644
:
10571
|
10622
|
10835