Bugzilla – Attachment 149799 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.16 KB, created by
Marcel de Rooy
on 2023-04-18 13:05:24 UTC
(
hide
)
Description:
Bug 32484: Replace DateTime->now by Koha::DateUtils::dt_from_string
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-04-18 13:05:24 UTC
Size:
1.16 KB
patch
obsolete
>From d682bc46875db19e8092456798f695ab9f2d2cca 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 >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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