Bugzilla – Attachment 106630 Details for
Bug 25850
CalcDateDue freezes with 'useDaysMode' set to 'Dayweek' and the due date lands on a Sunday
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25850: (QA follow-up) use dt_from_string
Bug-25850-QA-follow-up-use-dtfromstring.patch (text/plain), 1.09 KB, created by
Nick Clemens (kidclamp)
on 2020-07-07 12:07:13 UTC
(
hide
)
Description:
Bug 25850: (QA follow-up) use dt_from_string
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-07-07 12:07:13 UTC
Size:
1.09 KB
patch
obsolete
>From aabc0e3967f88df27ad605b636fc53e003cc54ff Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 7 Jul 2020 12:05:42 +0000 >Subject: [PATCH] Bug 25850: (QA follow-up) use dt_from_string > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/Calendar.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Calendar.t b/t/db_dependent/Calendar.t >index 99db1b1ea3..0900b5719d 100644 >--- a/t/db_dependent/Calendar.t >+++ b/t/db_dependent/Calendar.t >@@ -302,7 +302,7 @@ subtest 'is_holiday' => sub { > > my $library = $builder->build_object( { class => 'Koha::Libraries' } ); > >- my $day = DateTime->now(); >+ my $day = dt_from_string(); > my $dow = scalar $day->day_of_week; > $dow = 0 if $dow == 7; > >@@ -344,7 +344,7 @@ subtest 'get_push_amt' => sub { > > my $library = $builder->build_object( { class => 'Koha::Libraries' } ); > >- my $day = DateTime->now(); >+ my $day = dt_from_string(); > my $dow = scalar $day->day_of_week; > $dow = 0 if $dow == 7; > >-- >2.11.0
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 25850
:
106207
|
106346
|
106347
|
106348
|
106381
|
106382
|
106383
|
106384
|
106626
|
106627
|
106628
|
106629
| 106630