Bugzilla – Attachment 107047 Details for
Bug 26013
Date on 'manage staged MARC records' is not formatted correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26013: Fix formatting for dates on "Manage stage MARC records" page
Bug-26013-Fix-formatting-for-dates-on-Manage-stage.patch (text/plain), 2.74 KB, created by
Katrin Fischer
on 2020-07-17 22:06:24 UTC
(
hide
)
Description:
Bug 26013: Fix formatting for dates on "Manage stage MARC records" page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-07-17 22:06:24 UTC
Size:
2.74 KB
patch
obsolete
>From 4aecfaa070694a1d257e92600a3f0f8cff11dda3 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Fri, 17 Jul 2020 22:03:28 +0000 >Subject: [PATCH] Bug 26013: Fix formatting for dates on "Manage stage MARC > records" page > >The "staged" dates were not formatted according to system >preferences DateFormat and TimeFormat as the appropriate TT >filters were missing. > >To test: >- Stage a record in MARC format >- Go to Staged MARC management >- Check the date in the list of imports >- Click on the import and check the "Staged:" date >- Apply patch >- Repeat and verify formatting is now correct >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >index a3edfdf904..0c946594d5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >@@ -1,5 +1,6 @@ > [% USE raw %] > [% USE Asset %] >+[% USE KohaDates %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Tools › Manage staged MARC records >@@ -107,7 +108,7 @@ > <li><span class="label">File name:</span> [% file_name | html %]</li> > <li><span class="label">Comments:</span> [% IF ( comments ) %][% comments | html %][% ELSE %](none)[% END %]</li> > <li><span class="label">Type:</span> [% IF ( record_type == 'auth' ) %]Authority records[% ELSE %]Bibliographic records[% END %]</li> >- <li><span class="label">Staged:</span> [% upload_timestamp | html %]</li> >+ <li><span class="label">Staged:</span> [% upload_timestamp | $KohaDates with_hours=1 %]</li> > <li><span class="label">Status:</span> > [% IF ( import_status == 'cleaned' ) %] > Cleaned >@@ -357,7 +358,7 @@ > [% batch_lis.import_status | html %] > [% END %] > </td> >- <td>[% batch_lis.upload_timestamp | html %]</td> >+ <td>[% batch_lis.upload_timestamp | $KohaDates with_hours=1 %]</td> > <td>[% batch_lis.num_records | html %]</td> > <td>[% batch_lis.num_items | html %] > [% IF ( batch_lis.num_items && batch_lis.import_status == 'imported' ) %] >-- >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 26013
:
107047
|
107971
|
109114