Bugzilla – Attachment 147298 Details for
Bug 32484
Enable framework plugins when UseACQFrameworkForBiblioRecords is set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32484: Replace DateTime->now by Koha::DateUtils::dt_from_string
Bug-32484-Replace-DateTime-now-by-KohaDateUtilsdtf.patch (text/plain), 1.07 KB, created by
Julian Maurice
on 2023-02-24 12:01:52 UTC
(
hide
)
Description:
Bug 32484: Replace DateTime->now by Koha::DateUtils::dt_from_string
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2023-02-24 12:01:52 UTC
Size:
1.07 KB
patch
obsolete
>From 0a6b4e4ffb0b95eda24cdc5bc1486f51b0ef8c1b Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 24 Feb 2023 13:00:47 +0100 >Subject: [PATCH] Bug 32484: Replace DateTime->now by > Koha::DateUtils::dt_from_string > >--- > t/db_dependent/Koha/UI/Form/Builder/Biblio.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/UI/Form/Builder/Biblio.t b/t/db_dependent/Koha/UI/Form/Builder/Biblio.t >index d9dfd6a8c3..476c9c3b9f 100755 >--- a/t/db_dependent/Koha/UI/Form/Builder/Biblio.t >+++ b/t/db_dependent/Koha/UI/Form/Builder/Biblio.t >@@ -2,12 +2,12 @@ > > use Modern::Perl; > >-use DateTime; > use Test::More; > > use C4::ClassSource; > > use Koha::ClassSources; >+use Koha::DateUtils qw( dt_from_string ); > use Koha::ItemTypes; > use Koha::Libraries; > >@@ -33,7 +33,7 @@ subtest 'generate_subfield_form default value' => sub { > }, > ); > >- my $today = DateTime->now->ymd; >+ my $today = dt_from_string()->ymd; > is($subfield->{marc_value}->{value}, "The date is $today and user is superlibrarian"); > }; > >-- >2.30.2
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 32484
:
144690
|
144706
|
147298
|
149798
|
149799
|
149800
|
149801
|
149802