Bugzilla – Attachment 85649 Details for
Bug 22411
Dates in log viewer not formatted correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22411: Date and time in log viewer should respect
Bug-22411-Date-and-time-in-log-viewer-should-respe.patch (text/plain), 1.88 KB, created by
Josef Moravec
on 2019-02-25 18:27:21 UTC
(
hide
)
Description:
Bug 22411: Date and time in log viewer should respect
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-02-25 18:27:21 UTC
Size:
1.88 KB
patch
obsolete
>From 02282d9bfc05e014c9500cc287f0e43fbcc8ec34 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Mon, 25 Feb 2019 18:21:26 +0000 >Subject: [PATCH] Bug 22411: Date and time in log viewer should respect > >Test plan: >Go to log viewer and show some log >-- without patch the date ant time in first column is formatted as >yyyy-mm-dd hh:mm >-- with patch the date is formatted according to your dateformat system >preference >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >index db17762656..b3e11059b5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >@@ -3,6 +3,7 @@ > [% USE Koha %] > [% USE AuthorisedValues %] > [% USE Branches %] >+[% USE KohaDates %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title> >@@ -208,7 +209,7 @@ > <tbody> > [% FOREACH loopro IN looprow %] > <tr> >- <td>[% loopro.timestamp | html %]</td> >+ <td>[% loopro.timestamp | $KohaDates with_hours=1 %]</td> > <td> > [% IF loopro.librarian %] > <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.librarian.borrowernumber | uri %]" title="display detail for this librarian."> [% IF ( loopro.librarian.firstname ) || ( loopro.librarian.surname ) %][% loopro.librarian.firstname | html %] [% loopro.librarian.surname | html %] ([% loopro.librarian.borrowernumber | html %]) [% ELSE %][% loopro.librarian.borrowernumber | html %][% END %]</a> >-- >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 22411
:
85649
|
85650