Bugzilla – Attachment 10571 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), 747 bytes, created by
Chris Cormack
on 2012-06-29 21:06:55 UTC
(
hide
)
Description:
Bug 5644 : Fixing dropbox mode calculation
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-06-29 21:06:55 UTC
Size:
747 bytes
patch
obsolete
>From ed69bbb1e3a32dcc930eb7b703154eb1ffec2977 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 > >--- > Koha/Calendar.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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.9.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