Bugzilla – Attachment 13946 Details for
Bug 9211
days_between wrong behaviour
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9211 - days_between wrong behaviour - Followup - Add Test to Calendar.t
Bug-9211---daysbetween-wrong-behaviour---Followup-.patch (text/plain), 838 bytes, created by
Kyle M Hall (khall)
on 2012-12-07 17:10:25 UTC
(
hide
)
Description:
Bug 9211 - days_between wrong behaviour - Followup - Add Test to Calendar.t
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-12-07 17:10:25 UTC
Size:
838 bytes
patch
obsolete
>From a8982faf4729adcbe699651677f17d733b85f3ad Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 7 Dec 2012 12:09:27 -0500 >Subject: [PATCH] Bug 9211 - days_between wrong behaviour - Followup - Add Test to Calendar.t > >--- > t/Calendar.t | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/t/Calendar.t b/t/Calendar.t >index 42b8342..3b86851 100755 >--- a/t/Calendar.t >+++ b/t/Calendar.t >@@ -90,6 +90,10 @@ my $daycount = $cal->days_between( $test_dt, $later_dt ); > cmp_ok( $daycount->in_units('days'), > '==', 48, 'days_between calculates correctly' ); > >+my $daycount = $cal->days_between( $later_dt, $test_dt ); >+cmp_ok( $daycount->in_units('days'), >+ '==', 48, 'days_between calculates correctly with dates reversed' ); >+ > my $ret; > > $cal->set_daysmode('Calendar'); >-- >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 9211
:
13886
|
13945
|
13946
|
14400
|
14401
|
14402
|
14403